Example #1
0
 /// <summary>
 ///还原成系统预设参数
 /// </summary>
 public static void RestoreDefault()
 {
     SystemConfig.CurrentConfig = new SystemConfig();
     WriteSettings(SystemConfig.CurrentConfig);
 }
Example #2
0
 public static void ReadXmlConfigs()
 {
     CurrentToolConfig   = XMLHelper.ReadXmlConfig <ToolConfig>(@"Evatec\ToolConfig.xml");
     CurrentSystemConfig = XMLHelper.ReadXmlConfig <SystemConfig>("SystemConfig.xml");
 }