刘磊
2026-01-22 1924bdeca6414b6fec314c37260b44f20865d593
项目代码/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/getCharacteristic.cs
@@ -28,7 +28,7 @@
        /// <param name="rfidPrint">RFID</param>
        /// <param name="stationNo">绔欏彴璇锋眰鐐逛綅</param>
        /// <returns></returns>
        public WebResponseContent getCharacteristic(string rfidPrint, string stationNo)
        public WebResponseContent getCharacteristic(string stationNo, string rfidPrint)
        {
            WebResponseContent content = new WebResponseContent();
            try
@@ -37,7 +37,7 @@
                {
                    plantCode = "1052",
                    rfidPrint = rfidPrint,
                    vin = vin,
                    vin = "",
                    messageTime = DateTime.Now.ToString(),
                    unionKey = Guid.NewGuid().ToString(),
                };
@@ -51,10 +51,10 @@
                }
                var wmsIpAddress = wmsBase + ipAddress;
                var MESrespon = HttpHelper.Post(wmsIpAddress, characterInfo.ToJson());
                var MESrespon = HttpHelper.PostAsync(wmsIpAddress, characterInfo.ToJson(), contentType, headers).Result;
                GetCarCharacteristicInfo characterRespon = JsonConvert.DeserializeObject<GetCarCharacteristicInfo>(MESrespon);
                if (!characterRespon.success)
                GetCarCharacteristicInfo characterRespon = JsonConvert.DeserializeObject<GetCarCharacteristicInfo>(MESrespon.ToString());
                if (characterRespon.code != 200)
                {
                    throw new Exception($"{characterRespon}");
                }