private void LoadKelvinDie(XmlDocument xmlDoc, KelvinDieConfigData configData) { XmlOldKelvinDie xmlKelvinDie = new XmlOldKelvinDie(); xmlKelvinDie.LoadConfig(xmlDoc); configData.Enabled = xmlKelvinDie.Enabled; configData.BinString = xmlKelvinDie.KelvinDieBins; configData.ReprobeFirst = xmlKelvinDie.ReprobeFirst; }
private void SaveKelvinDie(XmlDocument xmlDoc, KelvinDieConfigData configData) { XmlOldKelvinDie xmlKelvinDie = new XmlOldKelvinDie(); xmlKelvinDie.Enabled = configData.Enabled; xmlKelvinDie.KelvinDieBins = configData.BinString; xmlKelvinDie.ReprobeFirst = configData.ReprobeFirst; xmlKelvinDie.SaveConfig(xmlDoc); }