zhangliwen 1 年之前
父节点
当前提交
9e19f2b12a

二进制
aliyun_eicp3.0/skoda-scada-daq3.0-master/skoda-scada-daq3.0-master/scada_-daq3.0-master/SCADA_DAQ/Customer/Doc/HS_DB.zip


+ 1 - 1
aliyun_eicp3.0/skoda-scada-daq3.0-master/skoda-scada-daq3.0-master/scada_-daq3.0-master/SCADA_DAQ/Customer/UctFrmFaceRecognition.xaml.cs

@@ -109,7 +109,7 @@ namespace SCADA_DAQ.Customer
                         if (item == null)
                             continue;
                         var device = WssForFaceService.Sockets.Values.Where(t => t.DeviceName == deviceMode.DeviceName)?.LastOrDefault();
-                        if (device != null) return;
+                        if (device == null) return;
                         device.SocketConnection.Send(JsonHelper.JsonSerialize(new
                         {
                             cmd = "to_device",

+ 2 - 2
aliyun_eicp3.0/skoda-scada-daq3.0-master/skoda-scada-daq3.0-master/scada_-daq3.0-master/SCADA_DAQ/Customer/UctFrmProcessingManagement.xaml.cs

@@ -148,7 +148,7 @@ namespace SCADA_DAQ.Customer
             {
                 if (System.Windows.MessageBox.Show($"是否开始加工{orderString}?", "提示", MessageBoxButton.OKCancel) != MessageBoxResult.OK)
                     return;
-                Checkout(isFace, isCard, "on");
+                //Checkout(isFace, isCard, "on");
                 //res = Env.SgIDAL.App_HongShi_TaskInfo.Update(filter,
                 //    new UpdateItem(T_Col_Name.App_HongShi_TaskInfo.TaskState_Str, "加工中"));
             }
@@ -261,7 +261,7 @@ namespace SCADA_DAQ.Customer
                 {
                     WssForFaceService.CheckResult = WssForFace.CheckState.None;
                     ((IApp)System.Windows.Application.Current).ShowShortToast("识别成功!", ControlStyle.Success);
-                    SetSwitch("off");
+                    //SetSwitch("off");
                 }
             }
         }