public void Save() { _xml.Write("LastRunRecipeName", CommonFunctions.Instance.ProductRecipeName); AxesProfile.Save("MoveProfile", _xml); DelayTimer.Save("DelayTimer", _xml); _xml.Save(); }
public SetupConfigHST(HSTWorkcell Workcell) { AxesProfile = new AxesProfile(); DelayTimer = new DelayTimer(); // 2: get the main xml string fileName = ServiceManager.DirectoryLocator.GetPath(Folders.Setup) + @"\Automation.config"; _xml = new SettingsXml(fileName); ServiceManager.FormLayout.SetupFolder = HSTSettings.Directories.Setup; Load(); }
// Methods ------------------------------------------------------------- public void Load() { LastRunRecipeName = _xml.Read("LastRunRecipeName", String.Empty); AxesProfile.Load("MoveProfile", _xml); DelayTimer.Load("DelayTimer", _xml); }