예제 #1
0
 public void Save()
 {
     _xml.Write("LastRunRecipeName", CommonFunctions.Instance.ProductRecipeName);
     AxesProfile.Save("MoveProfile", _xml);
     DelayTimer.Save("DelayTimer", _xml);
     _xml.Save();
 }
예제 #2
0
        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();
        }
예제 #3
0
        // Methods -------------------------------------------------------------

        public void Load()
        {
            LastRunRecipeName = _xml.Read("LastRunRecipeName", String.Empty);
            AxesProfile.Load("MoveProfile", _xml);
            DelayTimer.Load("DelayTimer", _xml);
        }