families, shanks
This commit is contained in:
@@ -730,6 +730,17 @@ namespace Step.NC
|
||||
return numericalControl.PLC_WPowerOnData(id, true);
|
||||
}
|
||||
|
||||
#region Tools
|
||||
|
||||
|
||||
public CmsError AddTool(ref SiemensToolModel tool)
|
||||
{
|
||||
return numericalControl.TOOLS_WAddTool(ref tool);
|
||||
}
|
||||
public CmsError UpdateTool(SiemensToolModel tool)
|
||||
{
|
||||
return numericalControl.TOOLS_WUpdateTool(tool);
|
||||
}
|
||||
|
||||
public CmsError AddFamily(string name, out FamilyModel family)
|
||||
{
|
||||
@@ -748,6 +759,18 @@ namespace Step.NC
|
||||
return numericalControl.TOOLS_WAddShank(ref shank);
|
||||
}
|
||||
|
||||
public CmsError UpdateFamilyName(string oldName, string newName)
|
||||
{
|
||||
return numericalControl.TOOLS_WUpdateFamilyData(oldName, newName);
|
||||
}
|
||||
|
||||
public CmsError UpdateMagazinePosition(MagazinePositionsModel magazinePosition)
|
||||
{
|
||||
return numericalControl.TOOLS_WUpdateMagazinesPositions(magazinePosition);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
#endregion Write data
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user