From eafdcc5ad6a55d3dfdec6c4787c3f3a9f32efc7f Mon Sep 17 00:00:00 2001
From: xcd <834800634@qq.com>
Date: 星期二, 29 九月 2020 13:27:50 +0800
Subject: [PATCH] 1. M071B机台配置 2. GTS板卡添加回原点捕获模式和输入信号模式 3. CameraBase使用Dictionary类型做图片缓存 4. M071流程显式Copy,原来是为了避免内存泄漏,但目前来看不是这方面原因 5. Gocator驱动添加GoDataSet之类KObject资源显式回收,怀疑其中也有非托管对象资源,测试确实起到内存回收作用

---
 src/Bro.M071.Process/M071Config.cs |   24 +++++++++++++++++++++++-
 1 files changed, 23 insertions(+), 1 deletions(-)

diff --git a/src/Bro.M071.Process/M071Config.cs b/src/Bro.M071.Process/M071Config.cs
index fa7ad15..df1dacb 100644
--- a/src/Bro.M071.Process/M071Config.cs
+++ b/src/Bro.M071.Process/M071Config.cs
@@ -41,11 +41,18 @@
         public List<KeyResult> KeyResultCollection { get; set; } = new List<KeyResult>();
         #endregion
 
-        [Category("鑳屾櫙鍥剧墖璁剧疆")]
+        [Category("鏄剧ず閰嶇疆")]
         [Description("杩愯鑳屾櫙鍥剧墖璺緞")]
         [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))]
         [DisplayName("鑳屾櫙鍥剧墖")]
         public string BackgroundImagePath { get; set; }
+
+        [Category("鏄剧ず閰嶇疆")]
+        [Description("閿洏鍏抽敭閿綅甯冨眬鏄剧ず")]
+        [TypeConverter(typeof(CollectionCountConvert))]
+        [Editor(typeof(ComplexCollectionEditor<KeyLocation>), typeof(UITypeEditor))]
+        [DisplayName("閿綅鏄剧ず")]
+        public List<KeyLocation> KeyLocationCollection { get; set; } = new List<KeyLocation>();
 
         [Category("妫�娴嬭缃�")]
         [Description("鎷嶆憚鐐逛綅璁剧疆闆嗗悎")]
@@ -67,6 +74,16 @@
         [TypeConverter(typeof(CollectionCountConvert))]
         [Editor(typeof(ComplexCollectionEditor<MeasurementUnit>), typeof(UITypeEditor))]
         public List<MeasurementUnit> MeasurementUnitCollection { get; set; } = new List<MeasurementUnit>();
+
+        [Category("妫�娴嬭缃�")]
+        [Description("骞抽潰琛ュ伩鍊�")]
+        [DisplayName("4.骞抽潰琛ュ伩鍊�")]
+        public double PlanCompensation { get; set; }
+
+        [Category("妫�娴嬭缃�")]
+        [Description("鏁版嵁绮惧害璁剧疆")]
+        [DisplayName("5.鏁版嵁绮惧害浣嶆暟")]
+        public int Precision { get; set; } = 3;
 
         //[Category("妫�娴嬭缃�")]
         //[DisplayName("缁撴灉鏁版嵁淇濆瓨璺緞")]
@@ -117,5 +134,10 @@
         [Description("true锛氭暟鎹笂浼犺嚦MES false锛氭暟鎹笉涓婁紶")]
         [ReadOnly(true)]
         public bool IsEnableMESUpload { get; set; } = false;
+
+        [Category("澶嶄綅璁剧疆")]
+        [Description("澶у浣嶉渶瑕佷俊鍙锋寔缁椂闂达紝澶嶄綅淇″彿鎸佺画瓒呭嚭璇ユ椂闂存墽琛屽ぇ澶嶄綅锛屽崟浣嶏細s")]
+        [DisplayName("澶у浣嶆寔缁俊鍙烽暱搴�")]
+        public int FullResetRequiredDuration { get; set; } = 3;
     }
 }

--
Gitblit v1.8.0