Example #1
0
 public void RemoveDeviceDetail(TGetDevicesRspDetail item)
 {
     if (details.IndexOf(item) >= 0)
     {
         details.Remove(item);
     }
 }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
 public void AddDeviceDetail(TGetDevicesRspDetail item)
 {
     details.Add(item);
 }