From 88d9954c0e8900a646975bd501b3a5479789a638 Mon Sep 17 00:00:00 2001
From: kingno <30263@KINGNO>
Date: 星期六, 21 六月 2025 15:12:30 +0800
Subject: [PATCH] 离线测试测试功能增加OKNG分类测试功能,添加图片资源释放延时优化最终结果少存图合并

---
 src/Bro.M141.Process/M141Config.cs |   46 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 45 insertions(+), 1 deletions(-)

diff --git a/src/Bro.M141.Process/M141Config.cs b/src/Bro.M141.Process/M141Config.cs
index 5602e23..993c17c 100644
--- a/src/Bro.M141.Process/M141Config.cs
+++ b/src/Bro.M141.Process/M141Config.cs
@@ -13,6 +13,7 @@
 using System.Drawing.Printing;
 using System.Reflection;
 using System.Windows.Forms.Design;
+using static Bro.Common.Helper.EnumHelper;
 
 namespace Bro.M141.Process
 {
@@ -24,6 +25,12 @@
         [TypeConverter(typeof(CollectionCountConvert))]
         [Editor(typeof(ComplexCollectionEditor<Printer>), typeof(UITypeEditor))]
         public List<Printer> Printers { get; set; } = new List<Printer>();
+
+
+      
+     
+
+
 
 
         [Category("浜у搧鏄剧ず鐣岄潰閰嶇疆")]
@@ -364,6 +371,11 @@
         [Description("搴斿鍗曟妫�娴嬮」闇�瑕佸娆℃媿鐓ф椂锛岃褰曞浘鐗囩殑绱㈠紩鍙凤紝浠�0寮�濮�")]
         public int ImageIndex { get; set; } = 0;
 
+        [Category("鍚敤閰嶇疆")]
+        [DisplayName("鍥哄畾妫�娴嬮」")]
+        [Description("true锛氳妫�娴嬮」鏄浐瀹氭娴嬮」鐩紝蹇呴』鎵ц false锛氳妫�娴嬫槸鍙彉妫�娴嬮」鐩紝娴佺▼涓喅瀹氭槸鍚︽娴嬶紝榛樿涓嶆娴�")]
+        public bool IsFixed { get; set; } = true;
+
         [Category("鍙栧儚璁剧疆")]
         [DisplayName("鐩告満閫夋嫨")]
         [Description("閫夋嫨璇ユ娴嬮」瀵瑰簲鐨勭浉鏈�")]
@@ -422,7 +434,10 @@
         [DisplayName("OK鍥剧墖淇濆瓨寮�鍏�")]
         public bool OKImageSwitch { get; set; } = false;
 
-
+        [Category("鍥剧墖淇濆瓨璁剧疆")]
+        [Description("璇ョ珯妫�娴嬪浘鐗囦繚瀛樻椂锛屼繚瀛樼殑鍥剧墖椤哄簭鍚庣紑")]
+        [DisplayName("鍥剧墖淇濆瓨椤哄簭鍚庣紑")]
+        public string ImageSaveSeq { get; set; } = "1";
 
         public string GetDisplayText()
         {
@@ -907,6 +922,35 @@
     }
 
 
+    [Device("OfflineDemo", "绂荤嚎娴嬭瘯", DeviceAttributeType.OperationConfig)]
+    public class OfflineDemoOperationConfig : OperationConfigBase
+    {
+        [Category("鍥剧墖鐩綍")]
+        [Description("鍥剧墖鐩綍")]
+        [DisplayName("鍥剧墖鐩綍")]
+        [Editor(typeof(FoldDialogEditor), typeof(UITypeEditor))]
+        public string ImageFolder { get; set; }
+
+        [Category("鍚姩閰嶇疆")]
+        [Description("true锛氬惎鍔ㄧ绾挎祴璇� false锛氬仠姝㈢绾挎祴璇�")]
+        [DisplayName("娴嬭瘯寮�鍏�")]
+        public bool IsStart { get; set; } = true;
+
+
+        [Category("妫�娴嬪姛鑳�")]
+        [Description("鍥剧墖鍦ㄦ壒閲忔祴璇曡繃绋嬩腑鏈�缁堝浘鐗囩粨鏋滀細瀛樺偍杈冩參闇�瑕佽缃欢鏃剁‘淇濆浘鐗囦笉琚祫婧愯嚜鍔ㄩ噴鏀�")]
+        [DisplayName("鍥剧墖瀛樺浘寤舵椂")]
+        public int SaveImageTime { get; set; } = 0;
+
+
+
+        [Category("妫�娴嬪姛鑳�")]
+        [Description("true锛氬惎鍔∣K娴嬭瘯 false锛氬惎鍔∟G娴嬭瘯")]
+        [DisplayName("鏄惁娴嬭瘯OK鍥剧墖")]
+        public bool IsOK { get; set; } = true;
+
+    }
+
     public class RealTimeAdjustDataDetail : IComplexDisplay
     {
         [Category("鐐逛綅璁剧疆")]

--
Gitblit v1.8.0