From 65509ea2a0808389a07a446f2df1cadb16d97dbc Mon Sep 17 00:00:00 2001
From: C3032 <C3032@BC3032>
Date: 星期二, 30 十二月 2025 16:36:05 +0800
Subject: [PATCH] Merge branch 'master' into feature/HR_Camera

---
 LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
index a3e21fd..b9febc4 100644
--- a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
+++ b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
@@ -72,9 +72,7 @@
                 }));
             }
             else
-            {
                 UserHSmartWindowControl.ClearObj();
-            }
         }
 
         /// <summary>
@@ -93,9 +91,7 @@
                 }));
             }
             else
-            {
                 this.label1.Text = $"鎬绘暟锛歿ProcessRunBll.total}";
-            }
         }
 
         public bool Run(out string msg)
@@ -107,9 +103,7 @@
             }
 
             if (isCircleRuning || ProcessRunBll.bRuning)
-            {
                 ProcessRunBll.LogInfo($"{ProcessRunBll.Name}姝e湪杩愯", LogInfoType.ERROR);
-            }
 
             ProcessRunBll.Run();
 
@@ -126,9 +120,7 @@
                 try
                 {
                     if (ProcessRunBll == null)
-                    {
                         return;
-                    }
 
                     ProcessRunBll.LogInfo(string.Format("娴佺▼[{0}]寮�濮嬭繍琛�", this.ProcessRunBll.Name), LogInfoType.INFO);
 
@@ -136,9 +128,7 @@
                     result = Run(out msg);
 
                     if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage))
-                    {
                         ShowHoImage(RecordImage);
-                    }
                 }
                 catch { msg = "杩愯鍑虹幇浜嗗紓甯�"; }
 
@@ -166,7 +156,7 @@
                 else
                 {
                     isCircleRuning = false;
-                    //threadCircleRun.Abort();
+                    threadCircleRun.Abort();
                 }
             }
             catch { }
@@ -199,14 +189,12 @@
                         , result ? LogInfoType.PASS : LogInfoType.ERROR);
 
                     if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage))
-                    {
                         ShowHoImage(RecordImage);
-                    }
                 }
                 catch { }
                 //}));
 
-                Thread.Sleep(33);
+                Thread.Sleep(100);
             }
         }
 

--
Gitblit v1.9.3