From 5ffc36a1db18d3112a9b50a9cf3953d7fcf21bae Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 19 八月 2025 16:37:24 +0800 Subject: [PATCH] 更新 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getCZInfo.cs | 30 ++---------------------------- 1 files changed, 2 insertions(+), 28 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getCZInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getCZInfo.cs" index 3377ee7..011f488 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getCZInfo.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getCZInfo.cs" @@ -34,37 +34,11 @@ var responStr = HttpsClient.PostXml(ipaddress, dic); - //CLInfo_ZY info = JsonConvert.DeserializeObject<CLInfo_ZY>(responStr); + //CLInfo_ZY info = JsonConvert.DeserializeObject<CLInfo_ZY>(responStr);1 - CZInfo_ZY inf2o = XMLSerializationTool.DeserializeXmlToObject<CZInfo_ZY>(responStr); + WheelSetMeasurement inf2o = XMLSerializationTool.DeserializeXmlToObject<WheelSetMeasurement>(responStr); if (inf2o.FLAG != "S") throw new Exception($"鑾峰彇淇℃伅澶辫触:鎺ュ彛杩斿洖澶辫触:{inf2o.ERROR}"); - //string info2 = XMLSerializationTool.SerializeObjectToXml<string>(responStr); - - //CLInfo_ZY info_ZY = new CLInfo_ZY() //娴嬭瘯鏁版嵁 - //{ - // //level = "1", - // //InboundDate = "2020-04-10", - // //gkzjjz = "520.11", - // //gkjmz = "421.1", - // //czh = "100", - // //clh = "L E123-52 4A", - // //cartype = "CRH1A", - // //Ltype = "SDA", - // //lx = "DA", - // //mttype = "crh", - // //NewOrOld = "NEW", - // //psj = "鍔ㄨ溅缁�", - // //sx = "da", - // //xlh = "1", - // //ygljz = "121" - //}; - - //inf2o.CHEXING = "CRH1A"; - //inf2o.MTTYPE = "M"; - - //CLInfo_ZY info_ZY = XmlToJson(responStr); - content.OK(data: inf2o); } catch (Exception ex) -- Gitblit v1.9.3