public void RemoveDeviceDetail(TGetDevicesRspDetail item) { if (details.IndexOf(item) >= 0) { details.Remove(item); } }
public static TGetDevicesRspDetail LoadFromXMLNode(XmlNode node) { if (node.Name != "Row") { return(null); } TGetDevicesRspDetail rlt = new TGetDevicesRspDetail(); rlt = IRAPXMLUtils.LoadValueFromXMLNode(node, rlt) as TGetDevicesRspDetail; return(rlt); }
public static TGetDevicesRspBody LoadFromXMLNode(XmlNode node) { TGetDevicesRspBody rlt = new TGetDevicesRspBody(); rlt = IRAPXMLUtils.LoadValueFromXMLNode(GetEX(node), rlt) as TGetDevicesRspBody; XmlNode paramxml = GetRspBodyNode(node); if (paramxml != null && paramxml.FirstChild != null && paramxml.FirstChild.Name == "Row") { foreach (XmlNode child in paramxml.ChildNodes) { rlt.details.Add(TGetDevicesRspDetail.LoadFromXMLNode(child)); } } return(rlt); }
public void AddDeviceDetail(TGetDevicesRspDetail item) { details.Add(item); }