From 3322022068ab818912d6f5d9e5eb31f51cc639c2 Mon Sep 17 00:00:00 2001
From: patrick.xu <patrick.xu@broconcentric.com>
Date: 星期四, 24 二月 2022 09:12:30 +0800
Subject: [PATCH] 添加配置文件的DataShift2

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

diff --git a/src/Bro.M071.Process/M071Config.cs b/src/Bro.M071.Process/M071Config.cs
index e9f1b94..86eab87 100644
--- a/src/Bro.M071.Process/M071Config.cs
+++ b/src/Bro.M071.Process/M071Config.cs
@@ -42,6 +42,11 @@
         public List<KeyResult> KeyResultCollection { get; set; } = new List<KeyResult>();
         #endregion
 
+        [Category("绂荤嚎娴嬭瘯妯″紡")]
+        [Description("true锛氳澶囩绾挎ā寮�  false锛氳澶囪繛绾挎ā寮�")]
+        [DisplayName("绂荤嚎妯″紡")]
+        public bool IsOfflineMode { get; set; } = false;
+
         [Category("鏄剧ず閰嶇疆")]
         [Description("杩愯鑳屾櫙鍥剧墖璺緞")]
         [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))]
@@ -201,6 +206,43 @@
         }
     }
 
+    [Device("ManualTest", "鎵嬪姩娴嬭瘯鎿嶄綔閰嶇疆", EnumHelper.DeviceAttributeType.OperationConfig)]
+    public class ManualTestOperationConfig : OperationConfigBase
+    {
+        [Category("鎵嬪姩娴嬭瘯閰嶇疆")]
+        [Description("鎵嬪姩娴嬭瘯閲嶅娆℃暟")]
+        public int RepeatTimes { get; set; } = 1;
+    }
+
+    [Device("KeyUnitGenerate", "鍗曢敭鐢熸垚閰嶇疆", EnumHelper.DeviceAttributeType.OperationConfig)]
+    public class KeyUnitGenerateConfig : OperationConfigBase
+    {
+        [Category("閿悕閰嶇疆")]
+        [Description("寮�濮嬮敭")]
+        [TypeConverter(typeof(KeyNameDictConverter))]
+        public string StartKey { get; set; }
+
+        [Category("閿悕閰嶇疆")]
+        [Description("缁撴潫閿�")]
+        [TypeConverter(typeof(KeyNameDictConverter))]
+        public string EndKey { get; set; }
+
+        [Category("鍥惧儚鏉ユ簮")]
+        [Description("鎷嶇収鐐逛綅")]
+        [TypeConverter(typeof(SnapshotPointConverter))]
+        public string SnapshotPointId { get; set; }
+
+        [Category("绠楁硶閰嶇疆")]
+        [Description("鍗曢敭妫�娴嬮厤缃畻娉曠被鍨�")]
+        [TypeConverter(typeof(KeyAlgorithemConverter))]
+        public string KeyAlgorithemId { get; set; }
+
+        [Category("绠楁硶閰嶇疆")]
+        [Description("鍗曢敭妫�娴嬮厤缃粨鏋滅被鍨�")]
+        [TypeConverter(typeof(KeyResultConverter))]
+        public string KeyResultId { get; set; }
+    }
+
     public class OperationCombination : IComplexDisplay, IHalconToolPath
     {
         [Category("杩愬姩鏈烘瀯閰嶇疆")]

--
Gitblit v1.8.0