huangxiaoqiang
2026-04-06 1ceaab54e82568a57599b61036aeccd110184e48
ÏîÄ¿´úÂë/WMS/WMSServer/WIDESEA_StoragIntegrationServices/MES/Partial/PassPoint.cs
@@ -5,6 +5,8 @@
using WIDESEA_Core.Const;
using WIDESEA_Core.Helper;
using WIDESEA_DTO;
using WIDESEA_Model.Models;
using WIDESEA_RecordService;
using WIDESEA_StorageBasicRepository;
namespace WIDESEA_StoragIntegrationServices
@@ -45,7 +47,7 @@
                PassPointInfo passPoint = new PassPointInfo()
                {
                    union_key = Guid.NewGuid().ToString(),
                    line_code = stationInfo.stationEquipMES,  //todo éœ€æ›¿æ¢æˆç‚¹ä½ä¿¡æ¯æ—¶å¯¹åº”MES点位
                    line_code = stationInfo.stationEquipMES,
                    message_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
                    plant_code = "1052",
                    pvi = json.PVI,
@@ -53,6 +55,9 @@
                    vin = "",
                    pass_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")
                };
                //记录请求MES过点信息
                _passPointRecordService.AddPassPointRecord(passPoint, json);
                var MESrespon = HttpHelper.PostAsync(wmsIpAddress, passPoint.ToJson(), contentType, headers).Result;
@@ -64,7 +69,7 @@
                }
                LogFactory.GetLog("车身过点").Info(true, $"\r\r--------------------------------------");
                LogFactory.GetLog("车身过点").Info(true, $"工位号:{json.Position},RFID:{json.PVI},响应信息:{responseContent.ToJson}");
                LogFactory.GetLog("车身过点").Info(true, $"工位号:{json.Position},RFID:{json.PVI},响应信息:{MESrespon}");
                return content.OK();
            }