public string CommandString(MachineCommandType machineCommandType) { try { return(commandDictionary.AsNcString(machineCommandType)); } catch (Exception) { throw; } }
public string AsNcString(MachineCommandType machineCommandType) { return(commandDict[machineCommandType]); }
public NcActionCommand(int lineNumber, MachineCommandType machineCommand) { LineNumber = lineNumber; this.machineCommand = machineCommand; }