public static CNCMachineCode Open() { if (xmlFileName != null && xmlFileName != "" && System.IO.File.Exists(xmlFileName)) { CNCMachineCode mc = FileIOLib.XmlSerializer.OpenXML <CNCMachineCode>(xmlFileName); if (mc == null) { return(new CNCMachineCode()); } else { return(mc); } } return(new CNCMachineCode()); }
public NcFileBuilder(CNCMachineCode machine) { this.machine = machine; currentLineNumber = machine.StartingLineNumber; }
public static void Save(CNCMachineCode obj) { FileIOLib.XmlSerializer.SaveXML <CNCMachineCode>(obj, xmlFileName); }
public NCFileBuilder(CNCMachineCode machine) { this.machine = machine; }