Exemplo n.º 1
0
        protected override void ResolveResponseBody(XmlNode node)
        {
            TGetDevicesRspBody response =
                TGetDevicesRspBody.LoadFromXMLNode(node);

            if (response != null)
            {
                bodyResponse = response;
            }
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
 public TGetDevicesContent()
 {
     bodyResponse = new TGetDevicesRspBody();
     bodyRequest  = new TGetDevicesReqBody();
 }