From 6f92829951f3ec228b18df8c157239573edd9cb4 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期三, 09 九月 2020 15:20:53 +0800 Subject: [PATCH] 1. 取消ImageSet中的HImage释放动作,转移到业务流程中 2. 拆分板卡的IO监听和轴状态,轴位置监听 --- src/Bro.M071.Process/M071Config.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/Bro.M071.Process/M071Config.cs b/src/Bro.M071.Process/M071Config.cs index fa7ad15..08a33a7 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("鎷嶆憚鐐逛綅璁剧疆闆嗗悎")] @@ -68,6 +75,16 @@ [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("缁撴灉鏁版嵁淇濆瓨璺緞")] //[Description("妫�娴嬬粨鏋滄暟鎹繚瀛樿矾寰�")] -- Gitblit v1.8.0