Example #1
0
        public XmlOldDb()
        {
            configElement = new SelfManagedXmlElement("Database");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("IsEnabled", true);
            configElement.AddChild(enabledElement);

            databaseServerNameElement = new StringXmlElement("DatabaseServerName", string.Empty);
            configElement.AddChild(databaseServerNameElement);

            databaseNameElement = new StringXmlElement("DatabaseName", string.Empty);
            configElement.AddChild(databaseNameElement);

            portElement = new IntegerXmlElement("Port", 1521);
            configElement.AddChild(portElement);

            userIdElement = new StringXmlElement("UserId", string.Empty);
            configElement.AddChild(userIdElement);

            passwordElement = new StringXmlElement("Password", string.Empty);
            configElement.AddChild(passwordElement);

            useTrakLotElement = new BooleanXmlElement("UseTrakLotId", true);
            configElement.AddChild(useTrakLotElement);
        }
Example #2
0
        public XmlConfig()
            : base("localSetting")
        {
            mapperIdElement = new StringXmlElement("MapperId", string.Empty);
            rootElement.AddChild(mapperIdElement);

            proberIdElement = new StringXmlElement("ProberId", string.Empty);
            rootElement.AddChild(proberIdElement);

            testerIdElement = new StringXmlElement("TesterId", string.Empty);
            rootElement.AddChild(testerIdElement);

            newConfigEnabledElement = new BooleanXmlElement("NewConfigEnabled", false);
            rootElement.AddChild(newConfigEnabledElement);

            wsConfigEnabledElement = new BooleanXmlElement("WsConfigEnabled", false);
            rootElement.AddChild(wsConfigEnabledElement);

            wsTimeoutSecondsElement = new IntegerXmlElement("WsTimeoutSeconds", 60);
            wsTimeoutSecondsElement.KeepSync = false;
            rootElement.AddChild(wsTimeoutSecondsElement);

            wsAddressListElement = new StringListXmlElement("WsAddressList");
            rootElement.AddChild(wsAddressListElement);

            wsOnlineCheckTimeoutSecondsElement = new IntegerXmlElement("WsOnlineCheckTimeoutSeconds", 3);
            wsOnlineCheckTimeoutSecondsElement.KeepSync = false;
            rootElement.AddChild(wsOnlineCheckTimeoutSecondsElement);
        }
        public XmlOldTcpIp()
        {
            xmlNode = new SelfManagedXmlElement("TcpIp");

            hostNameElement = new StringXmlElement("Hostname", "localhost");
            xmlNode.AddChild(hostNameElement);

            portElement = new IntegerXmlElement("Port", 4000);
            xmlNode.AddChild(portElement);
        }
        public XmlOldTester()
        {
            configElement = new SelfManagedXmlElement("Tester");
            rootElement.AddChild(configElement);

            activeTesterElement = new StringXmlElement("ActiveTester", string.Empty);
            configElement.AddChild(activeTesterElement);

            testerTimeoutElement = new IntegerXmlElement("TesterTimeout", 30);
            configElement.AddChild(testerTimeoutElement);

            simulatorEnabledElement = new BooleanXmlElement("TesterSimulatorEnabled", false);
            configElement.AddChild(simulatorEnabledElement);
        }
        public XmlOldGenesis()
        {
            configElement = new SelfManagedXmlElement("Genesis");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("CheckinThroughGenesis", false);
            configElement.AddChild(enabledElement);

            linkQueryElement = new StringXmlElement("LinkQuery", string.Empty);
            configElement.AddChild(linkQueryElement);

            timeoutElement = new IntegerXmlElement("Timeout", 100);
            configElement.AddChild(timeoutElement);
        }
        public XmlOldKelvinDie()
        {
            configElement = new SelfManagedXmlElement("KelvinDie");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("Enable", false);
            configElement.AddChild(enabledElement);

            kelvinDieBinsElement = new StringXmlElement("KelvinDieBins", "22");
            configElement.AddChild(kelvinDieBinsElement);

            reprobeFirstElement = new BooleanXmlElement("ReprobeFirst", false);
            configElement.AddChild(reprobeFirstElement);
        }
Example #7
0
        public XmlOldGsi()
        {
            proberElement = new SelfManagedXmlElement("Prober");
            rootElement.AddChild(proberElement);

            probersElement = new SelfManagedXmlElement("Probers");
            proberElement.AddChild(probersElement);

            gsiElement = new SelfManagedXmlElement("GSI");
            gsiElement.ClearAllChildren = true;
            probersElement.AddChild(gsiElement);

            waferMapDirElement = new StringXmlElement("WaferMapDir", "/usr/ctrims/wafdata/summary");
            gsiElement.AddChild(waferMapDirElement);

            tcpIpElement = new XmlOldTcpIp();
            gsiElement.AddChild(tcpIpElement.XmlNode);
        }
        public XmlOldKeithley()
        {
            testerElement = new SelfManagedXmlElement("Tester");
            rootElement.AddChild(testerElement);

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

            keithleyElement = new SelfManagedXmlElement("Keithley");
            testersElement.AddChild(keithleyElement);

            scriptFileNameElement = new StringXmlElement("ScriptFileName", "");
            keithleyElement.AddChild(scriptFileNameElement);

            csvOutputDirElement = new StringXmlElement("CsvOutputDir", "C:\\Mapper\\Keithley\\Stdf");
            keithleyElement.AddChild(csvOutputDirElement);

            gpibElement = new XmlOldGpib();
            keithleyElement.AddChild(gpibElement.XmlNode);
        }
        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);
        }
Example #10
0
        public XmlOldRtm()
        {
            configElement = new SelfManagedXmlElement("Rtm");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("Enabled", false);
            configElement.AddChild(enabledElement);

            rtmDirElement = new StringXmlElement("RtmDir", "C:\\Mapper\\Program");
            configElement.AddChild(rtmDirElement);

            agentNameElement = new StringXmlElement("AgentName", "FileWatcher");
            configElement.AddChild(agentNameElement);

            agentCmdElement = new StringXmlElement("AgentCmd", "C:\\Mapper\\Program\\FileWatcher.exe");
            configElement.AddChild(agentCmdElement);

            watchPeriodElement = new IntegerXmlElement("WatchPeriod", 0);
            configElement.AddChild(watchPeriodElement);
        }
        public XmlOldNewton()
        {
            configElement = new SelfManagedXmlElement("Newton");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("Enabled", false);
            configElement.AddChild(enabledElement);

            newtonFileElement = new StringXmlElement("NewtonPath", "C:\\Mapper\\Gatekeeper\\NewtUtils.bat");
            configElement.AddChild(newtonFileElement);

            newtonMapDirElement = new StringXmlElement("NewtonMapPath", "C:\\Mapper\\Gatekeeper\\Maps");
            configElement.AddChild(newtonMapDirElement);

            statusFileElement = new StringXmlElement("StatusFile", "C:\\Mapper\\Gatekeeper\\Status.txt");
            configElement.AddChild(statusFileElement);

            timeoutElement = new IntegerXmlElement("NewtonTimeout", 600);
            configElement.AddChild(timeoutElement);
        }
        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);
        }
        public XmlOldProber()
        {
            configElement = new SelfManagedXmlElement("Prober");
            rootElement.AddChild(configElement);

            activeProberElement = new StringXmlElement("ActiveProber", string.Empty);
            configElement.AddChild(activeProberElement);

            proberTimeoutElement = new IntegerXmlElement("ProberTimeout", 30);
            configElement.AddChild(proberTimeoutElement);

            simulatorEnabledElement = new BooleanXmlElement("ProberSimulatorEnabled", false);
            configElement.AddChild(simulatorEnabledElement);

            isProbeCleanEnabledElement = new BooleanXmlElement("IsProbeCleanEnabled", false);
            configElement.AddChild(isProbeCleanEnabledElement);

            probeCleanCountElement = new IntegerXmlElement("ProbeCleanCount", 1000);
            configElement.AddChild(probeCleanCountElement);

            isProbeXyScrubElement = new BooleanXmlElement("IsProbeXyScrub", false);
            configElement.AddChild(isProbeXyScrubElement);
        }
Example #14
0
        public XmlOldEvent()
        {
            configElement = new SelfManagedXmlElement("Event");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            enabledElement = new BooleanXmlElement("Enabled", true);
            configElement.AddChild(enabledElement);

            writeVerificationCountElement = new IntegerXmlElement("WriteVerificationCount", 3);
            configElement.AddChild(writeVerificationCountElement);

            sendingCountElement = new IntegerXmlElement("SendingCount", 50);
            configElement.AddChild(sendingCountElement);

            eventDirElement = new StringXmlElement("EventDir", "C:\\Mapper\\Events");
            configElement.AddChild(eventDirElement);

            rejectedEventDirElement = new StringXmlElement("EventRejectedDir", "C:\\Mapper\\Events\\Rejected");
            configElement.AddChild(rejectedEventDirElement);

            longPauseEventElement = new LongPauseEventXmlElement("LongPauseEvents");
            configElement.AddChild(longPauseEventElement);
        }
        public XmlOldEnvGeneral()
        {
            configElement = new SelfManagedXmlElement("EnvironmentGeneral");
            configElement.ClearAllChildren = true;
            rootElement.AddChild(configElement);

            autoCenterElement = new BooleanXmlElement("AutoCenter", true);
            configElement.AddChild(autoCenterElement);

            drawCircleElement = new BooleanXmlElement("DrawCircle", true);
            configElement.AddChild(drawCircleElement);

            drawGridElement = new BooleanXmlElement("DrawGrid", true);
            configElement.AddChild(drawGridElement);

            recoveryYieldElement = new BooleanXmlElement("RecoveryYield", true);
            configElement.AddChild(recoveryYieldElement);

            cultureNameElement = new StringXmlElement("CultureName", "English");
            configElement.AddChild(cultureNameElement);

            culturesElement = new CulturesXmlElement("CultureList");
            configElement.AddChild(culturesElement);
        }
        public XmlOldVirtualTester()
        {
            testerElement = new SelfManagedXmlElement("Tester");
            rootElement.AddChild(testerElement);

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

            vtElement = new SelfManagedXmlElement("Virtual");
            vtElement.ClearAllChildren = true;
            testersElement.AddChild(vtElement);

            connectElement = new IntegerXmlElement("ConnectDelay", 0);
            vtElement.AddChild(connectElement);

            disconnectElement = new IntegerXmlElement("DisconnectDelay", 0);
            vtElement.AddChild(disconnectElement);

            initElement = new IntegerXmlElement("InitDelay", 1000);
            vtElement.AddChild(initElement);

            startLotElement = new IntegerXmlElement("StartLotDelay", 2000);
            vtElement.AddChild(startLotElement);

            endLotElement = new IntegerXmlElement("EndLotDelay", 0);
            vtElement.AddChild(endLotElement);

            startWaferElement = new IntegerXmlElement("StartWaferDelay", 100);
            vtElement.AddChild(startWaferElement);

            endWaferElement = new IntegerXmlElement("EndWaferDelay", 100);
            vtElement.AddChild(endWaferElement);

            probeDieElement = new IntegerXmlElement("ProbeDieDelay", 1);
            vtElement.AddChild(probeDieElement);

            probeDieFinishedElement = new IntegerXmlElement("ProbeDieFinishedDelay", 0);
            vtElement.AddChild(probeDieFinishedElement);

            getTestProgramNameElement = new IntegerXmlElement("GetTestProgramNameDelay", 0);
            vtElement.AddChild(getTestProgramNameElement);

            getTemperatureElement = new IntegerXmlElement("GetTemperatureDelay", 0);
            vtElement.AddChild(getTemperatureElement);

            isRandomElement = new BooleanXmlElement("IsRandom", true);
            vtElement.AddChild(isRandomElement);

            yieldElement = new IntegerXmlElement("Yield", 100);
            vtElement.AddChild(yieldElement);

            isGrowingElement = new BooleanXmlElement("IsGrowing", false);
            vtElement.AddChild(isGrowingElement);

            inputWmxmlPathElement = new StringXmlElement("InputWmxmlPath", "C:\\Mapper\\VirtualTester\\InputMaps");
            vtElement.AddChild(inputWmxmlPathElement);
        }
Example #17
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);
        }