From fec341de45f4b3fd1825807f0b3261143fa13caa Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期一, 29 十二月 2025 17:03:45 +0800
Subject: [PATCH] 修复部分显示工具为面向对象。

---
 LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
index a3e21fd..ee4545a 100644
--- a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
+++ b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.cs
@@ -81,10 +81,10 @@
         /// 寮傛鏄剧ず鍥剧墖
         /// </summary>
         /// <param name="ho_image"></param>
-        public void ShowHoImage(HObject ho_image)
+        public void ShowHoImage(HImage ho_image)
         {
+            string str = this.lblTitle.Text;
             UserHSmartWindowControl.hImage = ho_image;
-
             if (this.InvokeRequired)
             {
                 this.BeginInvoke(new Action(() =>
@@ -135,7 +135,7 @@
                     ClearObj();
                     result = Run(out msg);
 
-                    if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage))
+                    if (ProcessRunBll.GetImage(_Layout, out _, out HImage RecordImage))
                     {
                         ShowHoImage(RecordImage);
                     }
@@ -198,7 +198,7 @@
                     ProcessRunBll.LogInfo($"{ProcessRunBll.Name}杩愯缁撴潫,缁撴灉涓�:{msg}"
                         , result ? LogInfoType.PASS : LogInfoType.ERROR);
 
-                    if (ProcessRunBll.GetImage(_Layout, out _, out HObject RecordImage))
+                    if (ProcessRunBll.GetImage(_Layout, out _, out HImage RecordImage))
                     {
                         ShowHoImage(RecordImage);
                     }

--
Gitblit v1.9.3