コード例 #1
0
        public XmlOldMethods()
        {
            configElement = new SelfManagedXmlElement("ProcessMethods");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            _isNeverTouchOutsideWafer = new BooleanXmlElement("SupNeverTouchOutsideWafer", true);
            configElement.AddChild(_isNeverTouchOutsideWafer);

            _maxTouchdownsOnDie = new IntegerXmlElement("SupMaxTouchdownsOnDie", 3);
            configElement.AddChild(_maxTouchdownsOnDie);

            _isAutoSpToUpElement = new BooleanXmlElement("IsAutoSpToUp", false);
            configElement.AddChild(_isAutoSpToUpElement);

            _isEpWaferElement = new BooleanXmlElement("IsEdgeProbeWafer", false);
            configElement.AddChild(_isEpWaferElement);

            _isEpPcMarkElement = new BooleanXmlElement("IsEdgeProbePcMark", false);
            configElement.AddChild(_isEpPcMarkElement);

            _sspModeElement = new EnumXmlElement<SmartSamplingMode>("SmartSamplingMode", SmartSamplingMode.Standard);
            configElement.AddChild(_sspModeElement);

            _isSspSingleFirstRowElement = new BooleanXmlElement("IsSspSingleFirstRow", false);
            configElement.AddChild(_isSspSingleFirstRowElement);

            _isCpSingleChessboardElement = new BooleanXmlElement("IsCpSingleChessboard", false);
            configElement.AddChild(_isCpSingleChessboardElement);

            _isSspSingleChessboardElement = new BooleanXmlElement("IsSspSingleChessboard", false);
            configElement.AddChild(_isSspSingleChessboardElement);

            _isSspMultiFirstRowElement = new BooleanXmlElement("IsSspMultiFirstRow", true);
            configElement.AddChild(_isSspMultiFirstRowElement);

            _isCpMultiChessboardElement = new BooleanXmlElement("IsCpMultiChessboard", false);
            configElement.AddChild(_isCpMultiChessboardElement);

            _isSspMultiChessboardElement = new BooleanXmlElement("IsSspMultiChessboard", false);
            configElement.AddChild(_isSspMultiChessboardElement);

            _isAoiGoodDieCounterElement = new BooleanXmlElement("IsAoiGoodDieCounter", false);
            configElement.AddChild(_isAoiGoodDieCounterElement);
        }
コード例 #2
0
        public XmlOldEagle()
        {
            testerElement = new SelfManagedXmlElement("Tester");
            rootElement.AddChild(testerElement);

            testersElement = new SelfManagedXmlElement("Testers");
            testerElement.AddChild(testersElement);

            eagleElement = new SelfManagedXmlElement("Eagle");
            testersElement.AddChild(eagleElement);

            communicationTypeElement = new EnumXmlElement<EagleCommunicationType>("CommunicationType", EagleCommunicationType.Serial);
            eagleElement.AddChild(communicationTypeElement);

            commandSetElement = new EnumXmlElement<EagleCommandSet>("CommandSet", EagleCommandSet.ElectroglasEnhancedMode);
            eagleElement.AddChild(commandSetElement);

            proberIdElement = new StringXmlElement("ProberId", "2001X.EC.249799-121");
            eagleElement.AddChild(proberIdElement);

            serialElement = new XmlOldSerial();
            eagleElement.AddChild(serialElement.XmlNode);

            gpibElement = new XmlOldGpib();
            eagleElement.AddChild(gpibElement.XmlNode);

            tcpIpElement = new XmlOldTcpIp();
            eagleElement.AddChild(tcpIpElement.XmlNode);

            SelfManagedXmlElement newtonElement = new SelfManagedXmlElement("Newton");
            eagleElement.AddChild(newtonElement);

            newtonEnableElement = new BooleanXmlElement("EnableNewton", false);
            newtonElement.AddChild(newtonEnableElement);

            newtonSerialElement = new XmlOldSerial();
            newtonElement.AddChild(newtonSerialElement.XmlNode);

            newtonFileElement = new StringXmlElement("NewtonFile", "");
            newtonElement.AddChild(newtonFileElement);
        }
コード例 #3
0
        public XmlOldGeneral()
        {
            configElement = new SelfManagedXmlElement("General");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            loginEnabledElement = new BooleanXmlElement("EnableLogin", true);
            configElement.AddChild(loginEnabledElement);

            systemTypeElement = new EnumXmlElement<SystemType>("SystemType", SystemType.Prober);
            configElement.AddChild(systemTypeElement);

            logLevelElement = new EnumXmlElement<LogLevel>("LogLevel", LogLevel.Info);
            configElement.AddChild(logLevelElement);

            longPauseEnabledElement = new BooleanXmlElement("EnableLongPause", true);
            configElement.AddChild(longPauseEnabledElement);

            longPauseDelayTimeElement = new IntegerXmlElement("DelayTime", 600);
            configElement.AddChild(longPauseDelayTimeElement);

            towerLightEnabledElement = new BooleanXmlElement("EnableTowerLight", false);
            configElement.AddChild(towerLightEnabledElement);

            towerLightPortElement = new IntegerXmlElement("TowerLightPortAddress", 0x378);
            configElement.AddChild(towerLightPortElement);

            alwaysSaveWaferMapsElement = new BooleanXmlElement("AlwaysSaveWaferMaps", false);
            configElement.AddChild(alwaysSaveWaferMapsElement);

            errorDialogContinueEnabledElement = new BooleanXmlElement("ErrorDialogContinueEnabled", false);
            configElement.AddChild(errorDialogContinueEnabledElement);

            pauseDialogAfterWaferEnabledElement = new BooleanXmlElement("PauseDialogAfterWaferEnabled", true);
            configElement.AddChild(pauseDialogAfterWaferEnabledElement);

            pauseDialogAfterWaferAutoReleaseElement = new BooleanXmlElement("PauseDialogAfterWaferAutoRelease", true);
            configElement.AddChild(pauseDialogAfterWaferAutoReleaseElement);
        }
コード例 #4
0
        public XmlOldSerial()
        {
            xmlNode = new SelfManagedXmlElement("SerialPort");

            portNameElement = new StringXmlElement("PortName", "COM1");
            xmlNode.AddChild(portNameElement);

            baudRateElement = new IntegerXmlElement("BaudRate", 19200);
            xmlNode.AddChild(baudRateElement);

            parityElement = new EnumXmlElement<Parity>("Parity", Parity.None);
            xmlNode.AddChild(parityElement);

            dataBitsElement = new IntegerXmlElement("DataBits", 7);
            xmlNode.AddChild(dataBitsElement);

            stopBitsElement = new EnumXmlElement<StopBits>("StopBit", StopBits.One);
            xmlNode.AddChild(stopBitsElement);

            separatorElement = new StringXmlElement("Separator", "\\LF");
            xmlNode.AddChild(separatorElement);
        }
コード例 #5
0
        public XmlOldTmt()
        {
            testerElement = new SelfManagedXmlElement("Tester");
            rootElement.AddChild(testerElement);

            testersElement = new SelfManagedXmlElement("Testers");
            testerElement.AddChild(testersElement);

            tmtElement = new SelfManagedXmlElement("TMT");
            tmtElement.ClearAllChildren = true;
            testersElement.AddChild(tmtElement);

            commandSetElement = new EnumXmlElement<TmtCommandSet>("CommandSet", TmtCommandSet.ETI);
            tmtElement.AddChild(commandSetElement);

            communicationTypeElement = new EnumXmlElement<TmtCommunicationType>("CommunicationType", TmtCommunicationType.TCPIP);
            tmtElement.AddChild(communicationTypeElement);

            tcpIpElement = new XmlOldTcpIp();
            tmtElement.AddChild(tcpIpElement.XmlNode);

            serialElement = new XmlOldSerial();
            tmtElement.AddChild(serialElement.XmlNode);
        }
コード例 #6
0
        public XmlOldDir()
        {
            configElement = new SelfManagedXmlElement("Paths");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            setupDirElement = new StringXmlElement("Setup", "C:\\Mapper\\Setup");
            configElement.AddChild(setupDirElement);

            loggingDirElement = new StringXmlElement("Logging", "C:\\Mapper\\Log");
            configElement.AddChild(loggingDirElement);

            cacheDirElement = new StringXmlElement("Cache", "C:\\Mapper\\Cache"); // for DB events
            configElement.AddChild(cacheDirElement);

            wmxmlVersionElement = new EnumXmlElement<WmxmlVersion>("WmxmlVersion", WmxmlVersion.Wmxml1);
            configElement.AddChild(wmxmlVersionElement);

            localFileFormatElement = new EnumXmlElement<FileFormat>("LocalFileFormat", FileFormat.Zip);
            configElement.AddChild(localFileFormatElement);

            localOutputWmxmlEnabledElement = new BooleanXmlElement("LocalSaveXmlEnabled", true);
            configElement.AddChild(localOutputWmxmlEnabledElement);

            localWmxmlDirElement = new StringXmlElement("LocalXmlWaferMap", "C:\\Mapper\\Maps\\Wmxml");
            configElement.AddChild(localWmxmlDirElement);

            localTempWmxmlDirElement = new StringXmlElement("LocalTempXmlWaferMap", "C:\\Mapper\\Temp");
            configElement.AddChild(localTempWmxmlDirElement);

            localInputWmxmlEnabledElement = new BooleanXmlElement("LocalLoadXmlEnabled", true);
            configElement.AddChild(localInputWmxmlEnabledElement);

            localInputWmxmlDirElement = new StringXmlElement("LocalLoadXmlWaferMap", "C:\\Mapper\\Maps\\Wmxml");
            configElement.AddChild(localInputWmxmlDirElement);

            secsChangePassBinElement = new BooleanXmlElement("SecsChangePassBin", false);
            configElement.AddChild(secsChangePassBinElement);

            secsPassBinElement = new IntegerXmlElement("SecsPassBin", 0);
            configElement.AddChild(secsPassBinElement);

            localOutputSecsEnabledElement = new BooleanXmlElement("LocalSaveSecsEnabled", true);
            configElement.AddChild(localOutputSecsEnabledElement);

            localSecsDirElement = new StringXmlElement("LocalSecsWaferMap", "C:\\Mapper\\Maps");
            configElement.AddChild(localSecsDirElement);

            serverFileFormatElement = new EnumXmlElement<FileFormat>("ServerFileFormat", FileFormat.Zip);
            configElement.AddChild(serverFileFormatElement);

            serverOutputWmxmlEnabledElement = new BooleanXmlElement("ServerSaveXmlEnabled", true);
            configElement.AddChild(serverOutputWmxmlEnabledElement);

            serverOutputWmxmlDirElement = new StringXmlElement("ServerSaveXmlWaferMap", "C:\\Mapper\\Server");
            configElement.AddChild(serverOutputWmxmlDirElement);

            serverUnsentWmxmlDirElement = new StringXmlElement("LocalUnsentXmlWaferMap", "C:\\Mapper\\UnsentMaps\\Wmxml");
            configElement.AddChild(serverUnsentWmxmlDirElement);

            serverInputWmxmlEnabledElement = new BooleanXmlElement("ServerLoadXmlEnabled", true);
            configElement.AddChild(serverInputWmxmlEnabledElement);

            serverInputWmxmlDirElement = new StringXmlElement("ServerLoadXmlWaferMap", "C:\\Mapper\\Server");
            configElement.AddChild(serverInputWmxmlDirElement);

            serverOutputSecsEnabledElement = new BooleanXmlElement("ServerSaveSecsEnabled", true);
            configElement.AddChild(serverOutputSecsEnabledElement);

            serverOutputSecsDirElement = new StringXmlElement("ServerSaveSecsWaferMap", "C:\\Mapper\\Server");
            configElement.AddChild(serverOutputSecsDirElement);

            serverUnsentSecsDirElement = new StringXmlElement("LocalUnsentSecsWaferMap", "C:\\Mapper\\UnsentMaps");
            configElement.AddChild(serverUnsentSecsDirElement);

            webServiceFileFormatElement = new EnumXmlElement<FileFormat>("WebServiceFileFormat", FileFormat.Zip);
            configElement.AddChild(webServiceFileFormatElement);

            webServiceOutputEnabledElement = new BooleanXmlElement("WebServiceEnabled", false);
            configElement.AddChild(webServiceOutputEnabledElement);

            webServiceInputEnabledElement = new BooleanXmlElement("WebServiceInputEnabled", false);
            configElement.AddChild(webServiceInputEnabledElement);

            webServicePrimaryUrlElement = new StringXmlElement("WebServicePrimaryUrl", "");
            configElement.AddChild(webServicePrimaryUrlElement);

            webServiceSecondaryUrlElement = new StringXmlElement("WebServiceSecondaryUrl", "");
            configElement.AddChild(webServiceSecondaryUrlElement);

            webServiceUnsentWmxmlDirElement = new StringXmlElement("WebServiceUnsentWmxmlWaferMap", "C:\\Mapper\\UnsentMaps\\WebService");
            configElement.AddChild(webServiceUnsentWmxmlDirElement);

            externalFileFormatElement = new EnumXmlElement<FileFormat>("ExternalFileFormat", FileFormat.Xml);
            configElement.AddChild(externalFileFormatElement);

            externalInputEnabledElement = new BooleanXmlElement("ExternalLoadEnabled", false);
            configElement.AddChild(externalInputEnabledElement);

            externalInputWmxmlDirElement = new StringXmlElement("ExternalLoadXmlWaferMap", "C:\\Mapper\\ExternalMaps");
            configElement.AddChild(externalInputWmxmlDirElement);

            externalOutputEnabledElement = new BooleanXmlElement("ExternalSaveEnabled", false);
            configElement.AddChild(externalOutputEnabledElement);

            externalOutputWmxmlDirElement = new StringXmlElement("ExternalSaveXmlWaferMap", "C:\\Mapper\\ExternalMaps");
            configElement.AddChild(externalOutputWmxmlDirElement);

            externalUnsentWmxmlDirElement = new StringXmlElement("ExternalUnsentXmlWaferMap", "C:\\Mapper\\ExternalUnsentMaps");
            configElement.AddChild(externalUnsentWmxmlDirElement);

            manualCheckFileNameElement = new StringXmlElement("ManualCheckFileName", "lotlist.txt");
            configElement.AddChild(manualCheckFileNameElement);

            manualCheckLocalDirElement = new StringXmlElement("ManualCheckLocal", "C:\\Mapper\\CheckManual");
            configElement.AddChild(manualCheckLocalDirElement);

            manualCheckServerDirElement = new StringXmlElement("ManualCheckServer", "C:\\Mapper\\CheckManual");
            configElement.AddChild(manualCheckServerDirElement);
        }