刘磊
2026-01-17 f1d726e3de8f15cdfe30d4ca5fbba733d73a1e56
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/issuedCharacter.cs
@@ -21,13 +21,6 @@
    /// </summary>
    public partial class MESService
    {
        /// <summary>
        ///  BDC请求焊装特征信息
        /// </summary>
        /// <param name="rfidPrint">RFID</param>
        /// <param name="vin">VIN号</param>
        /// <param name="stationNo">站台请求点位</param>
        /// <returns></returns>
        public WebResponseContent issuedCharacter(string rfidPrint, string vin, string stationNo)
        {
            WebResponseContent content = new WebResponseContent();
@@ -35,7 +28,7 @@
            {
                IssuedCharacterInfo characterInfo = new IssuedCharacterInfo()
                {
                    plantCode = "1022",
                    plantCode = "1052",
                    rfidPrint = rfidPrint,
                    vin = vin,
                    messageTime = DateTime.Now
@@ -50,7 +43,7 @@
                }
                var wmsIpAddress = wmsBase + ipAddress;
                var MESrespon = HttpHelper.Post(wmsIpAddress, characterInfo.ToJson());
                var MESrespon = HttpHelper.PostAsync(wmsIpAddress, characterInfo.ToJson()).Result;
                IssuedCharacterRespon characterRespon = JsonConvert.DeserializeObject<IssuedCharacterRespon>(MESrespon);
                if (!characterRespon.success)
@@ -70,10 +63,16 @@
                };
                _carBodyRepository.AddData(CarBody);
                LogFactory.GetLog("请求焊装特征信息").Info(true, $"\r\r--------------------------------------");
                LogFactory.GetLog("请求焊装特征信息").Info(true, $"工位号:{stationNo},RFID:{rfidPrint}");
                return content;
            }
            catch (Exception ex)
            {
                LogFactory.GetLog("请求焊装特征信息").Info(true, $"请求焊装特征信息异常::{ex.Message}");
                return content.Error($"请求焊装特征信息异常::{ex.Message}");
            }
        }