844184169 6 месяцев назад
Родитель
Сommit
12882b3d60
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      TeamAAS-VM/Core/Management.cs

+ 4 - 3
TeamAAS-VM/Core/Management.cs

@@ -1,6 +1,7 @@
 using Cognex.VisionPro.ToolBlock;
 using MathNet.Numerics.LinearAlgebra;
 using NPOI.SS.Formula.Functions;
+using NPOI.Util;
 using OpenCvSharp;
 using Prism.Events;
 using Prism.Ioc;
@@ -2846,7 +2847,7 @@ namespace TeamAAS_VP.Core
                                             assypress = "0";
                                             resultIndex = 2;
                                         }
-                                        data = gapDict;
+                                        data = gapDict.Copy();
                                         data.Add("AssyPressure1", assypress);
                                         SendTaskMessage($"Gap1:{gapDict["Gap1"]},Gap2:{gapDict["Gap2"]},Gap3:{gapDict["Gap3"]},Gap4:{gapDict["Gap4"]},组装压力:{assypress}", MessageLevel.Info);
                                         #region 数据
@@ -2887,8 +2888,8 @@ namespace TeamAAS_VP.Core
                                                 PROCESS_START_TIME = _LastMesCheckTime[i].ToString(),
                                                 CTQ_NAME = item.Key,
                                                 CTQ_VALUE = item.Value,
-                                                CTQ_LSL = upLimitValue,
-                                                CTQ_USL = downLimitValue,
+                                                CTQ_LSL = downLimitValue,
+                                                CTQ_USL = upLimitValue,
                                                 PROCESS_END_TIME = serverTimeResult.Now.ToString(),
                                                 SUPPLIER_NAME = stationConfig.DataInfo.SUPPLIER_NAME,
                                                 COMMODITY_TYPE = stationConfig.DataInfo.COMMODITY_TYPE,