领胜LDS 键盘AOI检测项目
patrick.xu
2021-02-02 d06507ffdbad5db95156e114d5e8a0f89672529a
src/Bro.M071.Process/M071Process_MES.cs
@@ -138,13 +138,13 @@
            //string paraStr = JsonConvert.SerializeObject(paras);
            //LogAsync(DateTime.Now, $"MES入料检测 {url}", paraStr);
            IncomingCheckMethod = InitialMESWebServiceMethod(IncomingCheckMethodName, out IncomingCheckObj);
            //IncomingCheckMethod = InitialMESWebServiceMethod(IncomingCheckMethodName, out IncomingCheckObj);
            Stopwatch sw = new Stopwatch();
            sw.Start();
            //var result = _webApiHelper.dooPost(url, paraStr);
            object[] paras = new object[] { barcode, Config.StationCode };
            object[] paras = new object[] { barcode, Config.StationCode, Config.ProjectCode };
            if (Config.IsEnableMESLog)
            {
@@ -184,7 +184,7 @@
            //string paraStr = JsonConvert.SerializeObject(paras);
            //LogAsync(DateTime.Now, $"MES数据上传 {url}", paraStr);
            DataUploadMethod = InitialMESWebServiceMethod(DataUploadMethodName, out DataUploadObj);
            //DataUploadMethod = InitialMESWebServiceMethod(DataUploadMethodName, out DataUploadObj);
            Stopwatch sw = new Stopwatch();
            sw.Start();
@@ -196,7 +196,7 @@
                Config.IsDisableMultipleCheckTimes,
                Config.ProjectCode,
                pMeasure.Barcode,
                checkTime.ToString("yyyy-MM-dd HH:mm:ss"),
                checkTime,
                Config.StationCode,
                pMeasure.PResult == "OK" ? "PASS" : "FAIL",
                Config.LineCode,