Beispiel #1
0
        private Vehicle_18C49_Result Query_18C49(Vehicle_18C49_Para para_18C49)
        {
            AJ_ReadProcess       readProcess  = new AJ_ReadProcess();
            Vehicle_18C49_Result result_18C49 = readProcess.AJ_Read_18C49(para_18C49);

            return(result_18C49);
        }
Beispiel #2
0
        public string queryObjectOut(string xtlb, string jkxlh, string jkid, string xmlDoc)
        {
            AJ_ReadProcess readProcess = new AJ_ReadProcess();
            AJ_XMLToModel  xmlToModel  = new AJ_XMLToModel();
            AJ_ModelToXML  modelToXML  = new AJ_ModelToXML();

            switch (jkid)
            {
            case "18J52":
                Vehicle_18J52_Para para_18J52 = new Vehicle_18J52_Para(jkid, jkxlh, xtlb);
                para_18J52 = (Vehicle_18J52_Para)xmlToModel.Para_XmlToModel(para_18J52, xmlDoc);

                Vehicle_18J52_Result result_18J52 = readProcess.AJ_Read_18J52(para_18J52);

                string strRet_18J52 = modelToXML.ModelToXml("18J52", result_18J52);
                return(strRet_18J52);

            case "18C49":
                Vehicle_18C49_Para para_18C49 = new Vehicle_18C49_Para(jkid, jkxlh, xtlb);
                para_18C49 = (Vehicle_18C49_Para)xmlToModel.Para_XmlToModel(para_18C49, xmlDoc);

                Vehicle_18C49_Result result_18C49 = readProcess.AJ_Read_18C49(para_18C49);

                string strRet_18C49 = modelToXML.ModelToXml("18C49", result_18C49);
                return(strRet_18C49);

            case "18C50":
                Vehicle_18C50_Para para_18C50 = new Vehicle_18C50_Para(jkid, jkxlh, xtlb);
                para_18C50 = (Vehicle_18C50_Para)xmlToModel.Para_XmlToModel(para_18C50, xmlDoc);

                Vehicle_18C50_Result result_18C50 = readProcess.AJ_Read_18C50(para_18C50);

                string strRet_18C50 = modelToXML.ModelToXml("18C50", result_18C50);
                return(strRet_18C50);

            case "18J80":
                Vehicle_18J80_Para para_18J80 = new Vehicle_18J80_Para(jkid, jkxlh, xtlb);
                para_18J80 = (Vehicle_18J80_Para)xmlToModel.Para_XmlToModel(para_18J80, xmlDoc);

                Vehicle_18J80_Result result_18J80 = readProcess.AJ_Read_18J80(para_18J80);

                string strRet_18J80 = modelToXML.ModelToXml("18J80", result_18J80);
                return(strRet_18J80);

            case "18W06":
                Vehicle_18W06_Para para_18W06 = new Vehicle_18W06_Para();
                para_18W06 = (Vehicle_18W06_Para)xmlToModel.Para_XmlToModel(para_18W06, xmlDoc);
                Vehicle_18W06_Result result_18W06 = readProcess.AJ_Read_18W06(para_18W06);
                string strRet_18W06 = modelToXML.ModelToXml("18W06", result_18W06);
                return(strRet_18W06);

            default:
                break;
            }

            return("");
        }