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