private void SaveEg2001(XmlDocument xmlDoc, Eg2001ConfigData configData)
        {
            XmlOldEg2001 xmlEg2001 = new XmlOldEg2001();

            xmlEg2001.EnableManualMicroCoordsChange = configData.EnableManualMicroCoordsChange;

            xmlEg2001.Serial.PortName = configData.Serial.PortName;
            xmlEg2001.Serial.BaudRate = configData.Serial.BaudRate;
            xmlEg2001.Serial.Parity = configData.Serial.Parity;
            xmlEg2001.Serial.DataBits = configData.Serial.DataBits;
            xmlEg2001.Serial.StopBits = configData.Serial.StopBits;
            xmlEg2001.Serial.Separator = configData.Serial.Separator;

            xmlEg2001.SaveConfig(xmlDoc);
        }
 private void LoadEg2001(XmlDocument xmlDoc, Eg2001ConfigData configData)
 {
     configData.EnableManualMicroCoordsChange = GetBool(xmlDoc, "Eg2001MicroCoordChange", configData.EnableManualMicroCoordsChange);
     driverXmlBinder.LoadSerial(xmlDoc, "Eg2001Serial", configData.Serial);
 }