public MachineTool(MachineToolType toolType, int index)
     : this(toolType, index, $"{toolType} {index}")
 {
 }
 public MachineTool(MachineToolType toolType, int index, string name)
 {
     ToolType = toolType;
     Index    = index;
     Name     = name;
 }
Exemple #3
0
 public MachineTool GetTool(MachineToolType machineToolType, int index)
 {
     return(Tools.FirstOrDefault(tool => tool.ToolType == machineToolType && tool.Index == index));
 }