public void LoadCheckin(XmlDocument xmlDoc, CheckinConfigData configData)
        {
            configData.CanDisableSsp = GetBool(xmlDoc, "CheckinCanDisableSsp", configData.CanDisableSsp);
            configData.ReverseOrder = GetBool(xmlDoc, "CheckinAutoreverseWaferOrder", configData.ReverseOrder);
            configData.UncheckWafers = GetBool(xmlDoc, "CheckinUncheckWafers", configData.UncheckWafers);
            configData.LoadBoardEnabled = GetBool(xmlDoc, "CheckinLoadBoardEnabled", configData.LoadBoardEnabled);
            configData.CanEdit = GetBool(xmlDoc, "CheckinCanEditFields", configData.CanEdit);

            configData.CanEditUp = GetBool(xmlDoc, "CheckinCanEditUp", configData.CanEditUp);
            configData.CanEditSup = GetBool(xmlDoc, "CheckinCanEditSup", configData.CanEditSup);
            configData.CanEditSp = GetBool(xmlDoc, "CheckinCanEditSp", configData.CanEditSp);
            configData.CanEditFp = GetBool(xmlDoc, "CheckinCanEditFp", configData.CanEditFp);
            configData.CanEditSsp = GetBool(xmlDoc, "CheckinCanEditSsp", configData.CanEditSsp);

            configData.OperatorIdEnabled = GetBool(xmlDoc, "CheckinOperatorIdEnabled", configData.OperatorIdEnabled);
            configData.CheckSetupEnabled = GetBool(xmlDoc, "CheckinCheckSetupName", configData.CheckSetupEnabled);
            configData.SetupMinMatchLength = GetInt(xmlDoc, "CheckinSetupMinMatchLength", configData.SetupMinMatchLength);

            configData.ProbingEnabled = GetBool(xmlDoc, "CheckinProbingEnabled", configData.ProbingEnabled);
            configData.ReprobingEnabled = GetBool(xmlDoc, "CheckinReprobingEnabled", configData.ReprobingEnabled);
            configData.InkingEnabled = GetBool(xmlDoc, "CheckinInkingEnabled", configData.InkingEnabled);
            configData.StandardInkingEnabled = GetBool(xmlDoc, "CheckinStandardInkingEnabled", configData.StandardInkingEnabled);
            configData.ControlMapInkingEnabled = GetBool(xmlDoc, "CheckinControlMapInkingEnabled", configData.ControlMapInkingEnabled);
            configData.ManualInkingEnabled = GetBool(xmlDoc, "CheckinManualInkingEnabled", configData.ManualInkingEnabled);
            configData.ExternalInkingEnabled = GetBool(xmlDoc, "CheckinExternalInkingEnabled", configData.ExternalInkingEnabled);
            configData.MapEditEnabled = GetBool(xmlDoc, "CheckinMapEditEnabled", configData.MapEditEnabled);
            configData.AoiEnabled = GetBool(xmlDoc, "CheckinAoiEnabled", configData.AoiEnabled);
        }
        private void SaveCheckin(XmlDocument xmlDoc, CheckinConfigData configData)
        {
            XmlOldCheckin xmlCheckin = new XmlOldCheckin();

            xmlCheckin.CanDisableSsp = configData.CanDisableSsp;
            xmlCheckin.ReverseOrder = configData.ReverseOrder;
            xmlCheckin.UncheckWafers = configData.UncheckWafers;
            xmlCheckin.OperatorIdEnable = configData.OperatorIdEnabled;
            xmlCheckin.CheckSetup = configData.CheckSetupEnabled;
            xmlCheckin.SetupMinMatchLength = configData.SetupMinMatchLength;

            xmlCheckin.SaveConfig(xmlDoc);
        }
        private void LoadCheckin(XmlDocument xmlDoc, CheckinConfigData configData)
        {
            XmlOldCheckin xmlCheckin = new XmlOldCheckin();
            xmlCheckin.LoadConfig(xmlDoc);

            configData.CanDisableSsp = xmlCheckin.CanDisableSsp;
            configData.ReverseOrder = xmlCheckin.ReverseOrder;
            configData.UncheckWafers = xmlCheckin.UncheckWafers;
            configData.OperatorIdEnabled = xmlCheckin.OperatorIdEnable;
            configData.CheckSetupEnabled = xmlCheckin.CheckSetup;
            configData.SetupMinMatchLength = xmlCheckin.SetupMinMatchLength;
        }
Example #4
0
        private string wsConfigVersion = "3.2.6"; // only default value... real value is defined in AssemblyInfo.cs

        #endregion Fields

        #region Constructors

        public ConfigData(string startupDir)
        {
            _childList = new List<IBaseConfigData>();

            DirectoryInfo di = new DirectoryInfo(startupDir);
            string rootMapperDir = di.Parent.FullName;

            _configConfigData = new ConfigConfigData(startupDir);
            _generalConfigData = new GeneralConfigData();
            _dirConfigData = new DirConfigData(rootMapperDir);
            _envGeneralConfigData = new EnvGeneralConfigData();
            _colorConfigData = new ColorConfigData();
            _dialogConfigData = new DialogConfigData();
            _eventConfigData = new EventConfigData(rootMapperDir);
            _wmxmlConfigData = new WmxmlConfigData(rootMapperDir);
            _genesisConfigData = new GenesisConfigData();
            _checkinConfigData = new CheckinConfigData();
            _lotSearchConfigData = new LotSearchConfigData();
            _processMethodConfigData = new ProcessMethodConfigData();
            _customScriptConfigData = new CustomScriptConfigData();
            _newtonConfigData = new NewtonConfigData(rootMapperDir);
            _rtmConfigData = new RtmConfigData(rootMapperDir);
            _probeInTempConfigData = new ProbeInTempConfigData();
            _hotKeysConfigData = new HotKeysConfigData();

            _consecutiveFailConfigData = new ConsecutiveFailConfigData();
            _cutoffConfigData = new CutoffConfigData();
            _kelvinDieConfigData = new KelvinDieConfigData();
            _laserscribeConfigData = new LaserscribeConfigData();
            _reprobeConfigData = new ReprobeConfigData();
            _incompleteProbeConfigData = new IncompleteProbeConfigData();
            _shiftedAlignmentConfigData = new ShiftedAlignmentConfigData();

            _proberConfigData = new ProberConfigData();
            _testerConfigData = new TesterConfigData();

            _lotInfoConfigData = new LotInfoConfigData();

            _childList.Add(_configConfigData as IBaseConfigData);
            _childList.Add(_generalConfigData as IBaseConfigData);
            _childList.Add(_wmxmlConfigData as IBaseConfigData);
            _childList.Add(_envGeneralConfigData as IBaseConfigData);
            _childList.Add(_colorConfigData as IBaseConfigData);
            _childList.Add(_dialogConfigData as IBaseConfigData);
            _childList.Add(_eventConfigData as IBaseConfigData);
            _childList.Add(_dirConfigData as IBaseConfigData);
            _childList.Add(_genesisConfigData as IBaseConfigData);
            _childList.Add(_checkinConfigData as IBaseConfigData);
            _childList.Add(_lotSearchConfigData as IBaseConfigData);
            _childList.Add(_processMethodConfigData as IBaseConfigData);
            _childList.Add(_customScriptConfigData as IBaseConfigData);
            _childList.Add(_newtonConfigData as IBaseConfigData);
            _childList.Add(_rtmConfigData as IBaseConfigData);
            _childList.Add(_probeInTempConfigData as IBaseConfigData);
            _childList.Add(_hotKeysConfigData as IBaseConfigData);

            _childList.Add(_consecutiveFailConfigData as IBaseConfigData);
            _childList.Add(_cutoffConfigData as IBaseConfigData);
            _childList.Add(_kelvinDieConfigData as IBaseConfigData);
            _childList.Add(_laserscribeConfigData as IBaseConfigData);
            _childList.Add(_reprobeConfigData as IBaseConfigData);
            _childList.Add(_incompleteProbeConfigData as IBaseConfigData);
            _childList.Add(_shiftedAlignmentConfigData as IBaseConfigData);
            _childList.Add(_proberConfigData as IBaseConfigData);
            _childList.Add(_testerConfigData as IBaseConfigData);

            _childList.Add(_lotInfoConfigData as IBaseConfigData);

            _configCache = new ConfigCache(this);
        }