Пример #1
0
 /// <summary>
 /// 加载文档并解析
 /// </summary>
 public static void LoadAndAnalyze()
 {
     //加载文档
     XMLHelper.CreateOrLoadXMLFile();
     //解析设备信息
     Devdefs.Analyze(XMLHelper.GetXmlNodeList("Devdef"));
     Devs.Analyze(XMLHelper.GetXmlNodeList("Dev"));
 }