Class SetupController
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
Controller for setup operations of machining projects.
[ApiController]
[Route("api/[controller]/[action]")]
public class SetupController : ControllerBase
- Inheritance
-
SetupController
- Inherited Members
- Extension Methods
Constructors
SetupController(IProjectService)
Initializes a new instance.
public SetupController(IProjectService projectService)
Parameters
projectService
IProjectServiceThe project service.
Properties
InitResolution_mm
InitResolution_mm.
public double InitResolution_mm { get; set; }
Property Value
Methods
ApplyClMillingDevice()
Applies a CL milling device to the machining equipment.
[HttpPost]
public void ApplyClMillingDevice()
LoadFixture(string)
Loads a fixture from the specified XML file path.
[HttpPost]
public void LoadFixture(string fixtureXmlFilePath)
Parameters
fixtureXmlFilePath
stringThe XML file path of the fixture to load.
LoadProject(string)
Loads a machining project from the specified file path.
[HttpPost]
public void LoadProject(string filePath)
Parameters
filePath
stringThe file path to load the project from.
SaveProject()
Saves the current machining project.
[HttpPost]
public void SaveProject()