add docfx samples.
This commit is contained in:
@@ -18,8 +18,7 @@ namespace Sample.MachineTool
|
||||
/// Provides access to the PMC-B1 machine tool model.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// ## Source Code
|
||||
///
|
||||
/// ### Source Code
|
||||
/// [!code-csharp[SampleCode](~/../Hi.Sample/MachineTool/DemoBuildMachineTool.cs)]
|
||||
/// </remarks>
|
||||
public class DemoBuildMachineTool : IGetCodeXyzabcMachineTool
|
||||
|
||||
@@ -9,8 +9,7 @@ namespace Sample.MachineTool
|
||||
/// Demo Build Machine Tool without gemetries setting.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// ## Source Code
|
||||
///
|
||||
/// ### Source Code
|
||||
/// [!code-csharp[SampleCode](~/../Hi.Sample/MachineTool/DemoBuildMachineToolWithoutGeometrys.cs)]
|
||||
/// </remarks>
|
||||
public static class DemoBuildMachineToolWithoutGeometrys
|
||||
@@ -27,17 +26,5 @@ namespace Sample.MachineTool
|
||||
CodeXyzabcMachineTool xyzabcMachineTool = new CodeXyzabcMachineTool(chain);
|
||||
return xyzabcMachineTool;
|
||||
}
|
||||
/// <summary>
|
||||
/// Generates and saves an empty machine tool URI to a file.
|
||||
/// </summary>
|
||||
/// <param name="baseDirectory">The base directory to save the machine tool file.</param>
|
||||
/// <returns>The machine tool URI object that was created and saved.</returns>
|
||||
public static CodeXyzabcMachineToolUri GenEmptyMachineToolUri(string baseDirectory)
|
||||
{
|
||||
CodeXyzabcMachineToolUri machineToolUri = new CodeXyzabcMachineToolUri(@"Samples/EmpytMachineTool.mt",
|
||||
GenEmptyMachineTool());
|
||||
machineToolUri.SaveToUri(baseDirectory);
|
||||
return machineToolUri;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user