Esempio n. 1
0
 public CenterServerConfig()
 {
     influxdConfig = new influxdConfig();
     Backups       = new Backups();
     xmlname       = Application.StartupPath + "/CenterServerConfig.xml";
     //读取xml文件
     ReadConfig(Application.StartupPath + "/CenterServerConfig.xml");
 }
Esempio n. 2
0
 public CenterServerConfig(string xml)
 {
     influxdConfig = new influxdConfig();
     Backups       = new Backups();
     xmlname       = xml;
     //读取xml文件
     ReadConfig(xml);
 }