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); }
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); }
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); }
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); }
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); }
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); }