예제 #1
0
        private Vehicle_DR004_GetTime_Request Req_GetTime_ToModel(RequestParent Req, string strReqContent)
        {
            Vehicle_DR004_GetTime_Request m_Req = (Vehicle_DR004_GetTime_Request)Req;
            ModelReflection mR = new ModelReflection();

            m_Req = mR.ReqXMLToModel(m_Req, "Request", strReqContent);
            return(m_Req);
        }
예제 #2
0
        private Vehicle_DR001_Login_Request Req_Verify_ToModel(RequestParent Req, string strReqContent)
        {
            Vehicle_DR001_Login_Request m_Req = (Vehicle_DR001_Login_Request)Req;
            ModelReflection             mR    = new ModelReflection();

            m_Req = mR.ReqXMLToModel(m_Req, "Row", strReqContent);
            return(m_Req);
        }
예제 #3
0
        private string Req_GetTime_ToXml(RequestParent req)
        {
            Vehicle_DR004_GetTime_Request m_GetTime_Req = (Vehicle_DR004_GetTime_Request)req;
            ModelReflection mR     = new ModelReflection();
            string          strRet = mR.ReqModelToXML(m_GetTime_Req, "???");

            return(strRet);
        }
예제 #4
0
        private string Req_Verify_ToXml(RequestParent req)
        {
            Vehicle_DR001_Login_Request m_Verify_Req = (Vehicle_DR001_Login_Request)req;
            ModelReflection             mR           = new ModelReflection();
            string strRet = mR.ReqModelToXML(m_Verify_Req, "vehispara");

            return(strRet);
        }
예제 #5
0
        public RequestParent Req_XmlToModel(RequestParent Req, string strReqContent)
        {
            RequestParent reqParent = new RequestParent();

            switch (Req.Name)
            {
            case "Verify":
                reqParent = Req_Verify_ToModel(Req, strReqContent);
                break;

            case "GetTime":
                reqParent = Req_GetTime_ToModel(Req, strReqContent);
                break;
            }
            return(reqParent);
        }
예제 #6
0
        public string ModelToXml(string strType, RequestParent Req)
        {
            string strXML = "";

            switch (strType)
            {
            case "Verify":
                strXML = Req_Verify_ToXml(Req);
                break;

            case "GetTime":
                strXML = Req_GetTime_ToXml(Req);
                break;
            }

            return(strXML);
        }