public static TGetDeviceTagsRspDetail LoadFromXMLNode(XmlNode node) { if (node.Name != "Row") { return(null); } TGetDeviceTagsRspDetail rlt = new TGetDeviceTagsRspDetail(); rlt = IRAPXMLUtils.LoadValueFromXMLNode(node, rlt) as TGetDeviceTagsRspDetail; return(rlt); }
public static TGetDeviceTagsRspBody LoadFromXMLNode(XmlNode node) { TGetDeviceTagsRspBody rlt = new TGetDeviceTagsRspBody(); rlt = IRAPXMLUtils.LoadValueFromXMLNode(GetEX(node), rlt) as TGetDeviceTagsRspBody; XmlNode paramxml = GetRspBodyNode(node); if (paramxml != null && paramxml.ChildNodes.Count > 0) { foreach (XmlNode child in paramxml.ChildNodes) { rlt.Details.Add(TGetDeviceTagsRspDetail.LoadFromXMLNode(child)); } } return(rlt); }