예제 #1
0
        protected override void ResolveResponseBody(XmlNode node)
        {
            TGetDevicesRspBody response =
                TGetDevicesRspBody.LoadFromXMLNode(node);

            if (response != null)
            {
                bodyResponse = response;
            }
        }
예제 #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);
        }
예제 #3
0
 public TGetDevicesContent()
 {
     bodyResponse = new TGetDevicesRspBody();
     bodyRequest  = new TGetDevicesReqBody();
 }