コード例 #1
0
ファイル: CenterServerConfig.cs プロジェクト: nxzzkj/lazyiot
 public CenterServerConfig()
 {
     influxdConfig = new influxdConfig();
     Backups       = new Backups();
     xmlname       = Application.StartupPath + "/CenterServerConfig.xml";
     //读取xml文件
     ReadConfig(Application.StartupPath + "/CenterServerConfig.xml");
 }
コード例 #2
0
ファイル: CenterServerConfig.cs プロジェクト: nxzzkj/lazyiot
 public CenterServerConfig(string xml)
 {
     influxdConfig = new influxdConfig();
     Backups       = new Backups();
     xmlname       = xml;
     //读取xml文件
     ReadConfig(xml);
 }