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; }
public MachineTool GetTool(MachineToolType machineToolType, int index) { return(Tools.FirstOrDefault(tool => tool.ToolType == machineToolType && tool.Index == index)); }