public static ResultInfo <XmlResultDataTree> getTreeNodes(XmlDocument doc) { XmlDocument xmlDoc = OiProData.Pro_GetTreeNode(doc); XmlResult xmlResult = DeserializeXmlDocument(typeof(XmlResult), xmlDoc) as XmlResult; XmlResultDataTree tree = DeserializeXmlDocument(typeof(XmlResultDataTree), ConvertToXmlNode(xmlResult.revalue)) as XmlResultDataTree; return(new ResultInfo <XmlResultDataTree> { code = xmlResult.recode, msg = xmlResult.err, obj = tree }); }
public static string getTreeNodes(XmlDocument doc, bool test) { XmlDocument xmlDoc = OiProData.Pro_GetTreeNode(doc); return(xmlDoc.OuterXml); }