From c9fb3178dc1765a89d76d3bf559bab7f8f0f439c Mon Sep 17 00:00:00 2001
From: 1536884497@qq.com <1536884497@qq.com>
Date: 星期二, 23 三月 2021 16:27:23 +0800
Subject: [PATCH] 增加盲线检测的ROI

---
 src/Bro.M071.Process/M071Models.cs |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/Bro.M071.Process/M071Models.cs b/src/Bro.M071.Process/M071Models.cs
index ed4c138..790745a 100644
--- a/src/Bro.M071.Process/M071Models.cs
+++ b/src/Bro.M071.Process/M071Models.cs
@@ -52,7 +52,6 @@
         }
     }
 
-
     public class KeyAlgorithem : IComplexDisplay
     {
         [Browsable(false)]
@@ -84,6 +83,10 @@
         [Description("妫�娴嬬畻娉曡矾寰�")]
         [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))]
         public string AlgorithemPath { get; set; }
+
+        [Category("涓婁紶NG浠g爜")]
+        [Description("涓婁紶NG浠g爜")]
+        public string NGCode { get; set; }
 
         [Category("鏄剧ず閰嶇疆")]
         [Description("鏄剧ず鍖哄煙澶у皬")]
@@ -277,7 +280,7 @@
             Measurements?.ForEach(m => m?.Dispose());
             Measurements = null;
             ElementList = null;
-            Barcode = null;
+            //Barcode = null;
             GC.Collect();
         }
 
@@ -509,6 +512,23 @@
         }
     }
 
+    public class KeyCodeMap : IComplexDisplay
+    {
+        [Category("閿悕鏄犲皠閰嶇疆")]
+        [Description("閿悕")]
+        [TypeConverter(typeof(KeyNameDictConverter))]
+        public string Key { get; set; }
+
+        [Category("閿悕鏄犲皠閰嶇疆")]
+        [Description("涓婁紶瀵瑰簲閿唬鐮丆ode")]
+        public string KeyCode { get; set; }
+
+        public string GetDisplayText()
+        {
+            return $"{Key}--{KeyCode}";
+        }
+    }
+
     //public class NoticedDictionary<T1, T2> : Dictionary<T1, T2>, INotifyPropertyChanged
     //{
     //    public event PropertyChangedEventHandler PropertyChanged;

--
Gitblit v1.8.0