摘要:
//生成XML XmlDocument xmlDoc = new XmlDocument(); XmlElement root = xmlDoc.CreateElement("Data"); xmlDoc.AppendChild(root); foreach (var item in agentStateDic) { XmlElement element = xmlDoc.CreateElement("Agent"); ... 阅读全文
摘要:
//生成XML XmlDocument xmlDoc = new XmlDocument(); XmlElement root = xmlDoc.CreateElement("Data"); xmlDoc.AppendChild(root); foreach (var item in agentStateDic) { XmlElement element = xmlDoc.CreateElement("Agent"); ... 阅读全文
|