From 2de09bec5cc05bf875543fa8956167ca7db73021 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期三, 25 六月 2025 11:36:44 +0800 Subject: [PATCH] 合并 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getZDPInfo.cs | 39 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 36 insertions(+), 3 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getZDPInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getZDPInfo.cs" index 91f3c1e..1a7560b 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getZDPInfo.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/ZY/Partial/getZDPInfo.cs" @@ -1,11 +1,16 @@ 锘� using Masuit.Tools; using Newtonsoft.Json; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Math; +using System.Reflection.Emit; +using System.Security.Policy; +using System; using WIDESEA.Common; using WIDESEA_Common; using WIDESEA_Common.ZY; using WIDESEA_Core; using WIDESEA_Core.Helper; +using WIDESEA_Model.Models; namespace WIDESEA_StoragIntegrationServices { @@ -38,7 +43,8 @@ ZDPInfo_ZY inf2o = XMLSerializationTool.DeserializeXmlToObject<ZDPInfo_ZY>(responStr); - if (inf2o.FLAG != "S") throw new Exception($"鑾峰彇淇℃伅澶辫触:鎺ュ彛杩斿洖澶辫触:{inf2o.ERROR}"); + if (inf2o.FLAG != "S") + throw new Exception($"鑾峰彇淇℃伅澶辫触:鎺ュ彛杩斿洖澶辫触:{inf2o.ERROR}"); //string info2 = XMLSerializationTool.SerializeObjectToXml<string>(responStr); //CLInfo_ZY info_ZY = new CLInfo_ZY() //娴嬭瘯鏁版嵁 @@ -60,8 +66,35 @@ // //ygljz = "121" //}; - //inf2o.CHEXING = "CRH1A"; - //inf2o.MTTYPE = "M"; + + + inf2o.ZPH = "20231021-0019/25103295 0011"; + inf2o.CHEXING = "CRH1A"; + inf2o.NEWOLD = "鏃�"; + inf2o.POS = "涓棿"; + inf2o.LSXH = "XKDS"; + inf2o.MAT = "閽�"; + inf2o.SITE = "鍥戒骇"; + inf2o.GKA1 = "0.53"; + inf2o.GKA2 = "0.23"; + inf2o.GKA3 = "0.133"; + inf2o.GKA = "0.535"; + inf2o.GKB1 = "0.533"; + inf2o.GKB2 = "0.431"; + inf2o.GKB3 = "0.532"; + inf2o.GKB = "0.623"; + inf2o.GKC1 = "0.123"; + inf2o.GKC2 = "0.533"; + inf2o.GKC3 = "0.222"; + inf2o.GKC = "0.543"; + inf2o.GKJZ = "0.22"; + inf2o.LSCSYMH = "0.42"; + inf2o.LMCSYMH = "0.031"; + inf2o.RKSJ = DateTime.Now.ToString(); + + + + //CLInfo_ZY info_ZY = XmlToJson(responStr); -- Gitblit v1.9.3