private void SaveDir(XmlDocument xmlDoc, DirConfigData dirConfigData, WmxmlConfigData wmxmlConfigData) { XmlOldDir xmlDir = new XmlOldDir(); xmlDir.SetupDir = dirConfigData.SetupDir; xmlDir.LoggingDir = dirConfigData.LoggingDir; xmlDir.CacheDir = dirConfigData.CacheDir; xmlDir.WmxmlVersion = wmxmlConfigData.LocalWmxmlVersion; xmlDir.LocalFileFormat = wmxmlConfigData.LocalFileFormat; xmlDir.LocalOutputWmxmlEnabled = wmxmlConfigData.LocalOutputWmxmlEnabled; xmlDir.LocalWmxmlDir = wmxmlConfigData.LocalOutputWmxmlDir; xmlDir.LocalTempWmxmlDir = wmxmlConfigData.LocalTempWmxmlDir; xmlDir.LocalInputWmxmlEnabled = wmxmlConfigData.LocalInputWmxmlEnabled; xmlDir.LocalInputWmxmlDir = wmxmlConfigData.LocalInputWmxmlDir; xmlDir.SecsChangePassBin = wmxmlConfigData.SecsChangePassBin; xmlDir.SecsPassBin = wmxmlConfigData.SecsPassBin; xmlDir.LocalOutputSecsEnabled = wmxmlConfigData.LocalOutputSecsEnabled; xmlDir.LocalSecsDir = wmxmlConfigData.LocalOutputSecsDir; xmlDir.ServerFileFormat = wmxmlConfigData.ServerFileFormat; xmlDir.ServerOutputWmxmlEnabled = wmxmlConfigData.ServerOutputWmxmlEnabled; xmlDir.ServerOutputWmxmlDir = wmxmlConfigData.ServerOutputWmxmlDir; xmlDir.ServerUnsentWmxmlDir = wmxmlConfigData.ServerUnsentWmxmlDir; xmlDir.ServerInputWmxmlEnabled = wmxmlConfigData.ServerInputWmxmlEnabled; xmlDir.ServerInputWmxmlDir = wmxmlConfigData.ServerInputWmxmlDir; xmlDir.ServerOutputSecsEnabled = wmxmlConfigData.ServerOutputSecsEnabled; xmlDir.ServerOutputSecsDir = wmxmlConfigData.ServerOutputSecsDir; xmlDir.ServerUnsentSecsDir = wmxmlConfigData.ServerUnsentSecsDir; xmlDir.WebServiceFileFormat = wmxmlConfigData.VaultFileFormat; xmlDir.WebServiceOutputEnabled = wmxmlConfigData.VaultOutputEnabled; xmlDir.WebServiceInputEnabled = wmxmlConfigData.VaultInputEnabled; xmlDir.WebServicePrimaryUrl = wmxmlConfigData.WebServicePrimaryUrl; xmlDir.WebServiceSecondaryUrl = wmxmlConfigData.WebServiceSecondaryUrl; xmlDir.WebServiceUnsentWmxmlDir = wmxmlConfigData.VaultUnsentWmxmlDir; xmlDir.ExternalFileFormat = wmxmlConfigData.ExternalFileFormat; xmlDir.ExternalInputEnabled = wmxmlConfigData.ExternalInputEnabled; xmlDir.ExternalInputWmxmlDir = wmxmlConfigData.ExternalInputWmxmlDir; xmlDir.ExternalOutputEnabled = wmxmlConfigData.ExternalOutputEnabled; xmlDir.ExternalOutputWmxmlDir = wmxmlConfigData.ExternalOutputWmxmlDir; xmlDir.ExternalUnsentWmxmlDir = wmxmlConfigData.ExternalUnsentWmxmlDir; xmlDir.ManualCheckFileName = dirConfigData.ManualCheckFileName; xmlDir.ManualCheckLocalDir = dirConfigData.ManualCheckLocalDir; xmlDir.ManualCheckServerDir = dirConfigData.ManualCheckServerDir; xmlDir.SaveConfig(xmlDoc); }
private void LoadDir(XmlDocument xmlDoc, DirConfigData dirConfigData, WmxmlConfigData wmxmlConfigData) { XmlOldDir xmlDir = new XmlOldDir(); xmlDir.LoadConfig(xmlDoc); dirConfigData.SetupDir = xmlDir.SetupDir; dirConfigData.LoggingDir = xmlDir.LoggingDir; dirConfigData.CacheDir = xmlDir.CacheDir; wmxmlConfigData.LocalWmxmlVersion = xmlDir.WmxmlVersion; wmxmlConfigData.LocalFileFormat = xmlDir.LocalFileFormat; wmxmlConfigData.LocalOutputWmxmlEnabled = xmlDir.LocalOutputWmxmlEnabled; wmxmlConfigData.LocalOutputWmxmlDir = xmlDir.LocalWmxmlDir; wmxmlConfigData.LocalTempWmxmlDir = xmlDir.LocalTempWmxmlDir; wmxmlConfigData.LocalInputWmxmlEnabled = xmlDir.LocalInputWmxmlEnabled; wmxmlConfigData.LocalInputWmxmlDir = xmlDir.LocalInputWmxmlDir; wmxmlConfigData.SecsChangePassBin = xmlDir.SecsChangePassBin; wmxmlConfigData.SecsPassBin = xmlDir.SecsPassBin; wmxmlConfigData.LocalOutputSecsEnabled = xmlDir.LocalOutputSecsEnabled; wmxmlConfigData.LocalOutputSecsDir = xmlDir.LocalSecsDir; wmxmlConfigData.ServerWmxmlVersion = xmlDir.WmxmlVersion; wmxmlConfigData.ServerFileFormat = xmlDir.ServerFileFormat; wmxmlConfigData.ServerOutputWmxmlEnabled = xmlDir.ServerOutputWmxmlEnabled; wmxmlConfigData.ServerOutputWmxmlDir = xmlDir.ServerOutputWmxmlDir; wmxmlConfigData.ServerUnsentWmxmlDir = xmlDir.ServerUnsentWmxmlDir; wmxmlConfigData.ServerInputWmxmlEnabled = xmlDir.ServerInputWmxmlEnabled; wmxmlConfigData.ServerInputWmxmlDir = xmlDir.ServerInputWmxmlDir; wmxmlConfigData.ServerOutputSecsEnabled = xmlDir.ServerOutputSecsEnabled; wmxmlConfigData.ServerOutputSecsDir = xmlDir.ServerOutputSecsDir; wmxmlConfigData.ServerUnsentSecsDir = xmlDir.ServerUnsentSecsDir; wmxmlConfigData.VaultWmxmlVersion = xmlDir.WmxmlVersion; wmxmlConfigData.VaultFileFormat = xmlDir.WebServiceFileFormat; wmxmlConfigData.VaultOutputEnabled = xmlDir.WebServiceOutputEnabled; wmxmlConfigData.VaultInputEnabled = xmlDir.WebServiceInputEnabled; wmxmlConfigData.ClearWebServiceUrlList(); wmxmlConfigData.AddToWebServiceUrlList(xmlDir.WebServicePrimaryUrl); wmxmlConfigData.AddToWebServiceUrlList(xmlDir.WebServiceSecondaryUrl); wmxmlConfigData.VaultUnsentWmxmlDir = xmlDir.WebServiceUnsentWmxmlDir; wmxmlConfigData.ExternalWmxmlVersion = xmlDir.WmxmlVersion; wmxmlConfigData.ExternalFileFormat = xmlDir.ExternalFileFormat; wmxmlConfigData.ExternalInputEnabled = xmlDir.ExternalInputEnabled; wmxmlConfigData.ExternalInputWmxmlDir = xmlDir.ExternalInputWmxmlDir; wmxmlConfigData.ExternalOutputEnabled = xmlDir.ExternalOutputEnabled; wmxmlConfigData.ExternalOutputWmxmlDir = xmlDir.ExternalOutputWmxmlDir; wmxmlConfigData.ExternalUnsentWmxmlDir = xmlDir.ExternalUnsentWmxmlDir; dirConfigData.ManualCheckFileName = xmlDir.ManualCheckFileName; dirConfigData.ManualCheckLocalDir = xmlDir.ManualCheckLocalDir; dirConfigData.ManualCheckServerDir = xmlDir.ManualCheckServerDir; }