From 1e12238d9d6ea02f89aa7150f8507c9d8368a429 Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期四, 09 七月 2020 14:29:15 +0800 Subject: [PATCH] 板卡操作配置编辑时传递轴号和轴名称 --- src/Bro.M071.Process/M071Config.cs | 24 +++++++++++++++++++++--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/Bro.M071.Process/M071Config.cs b/src/Bro.M071.Process/M071Config.cs index 84af1e8..9f8559f 100644 --- a/src/Bro.M071.Process/M071Config.cs +++ b/src/Bro.M071.Process/M071Config.cs @@ -64,8 +64,8 @@ [Category("妫�娴嬭缃�")] [Description("妫�娴嬮厤缃泦鍚�")] [TypeConverter(typeof(CollectionCountConvert))] - [Editor(typeof(ComplexCollectionEditor<MeasurementUint>), typeof(UITypeEditor))] - public List<MeasurementUint> MeasurementUnitCollection { get; set; } = new List<MeasurementUint>(); + [Editor(typeof(ComplexCollectionEditor<MeasurementUnit>), typeof(UITypeEditor))] + public List<MeasurementUnit> MeasurementUnitCollection { get; set; } = new List<MeasurementUnit>(); [Category("鍥剧墖淇濆瓨閰嶇疆")] [Description("鍗曢敭鍥剧墖淇濆瓨閰嶇疆")] @@ -75,7 +75,25 @@ [Category("鍥剧墖淇濆瓨閰嶇疆")] [Description("鍗曢敭鍥剧墖淇濆瓨鐩綍璺緞")] - [Editor(typeof(FoldDialogEditor),typeof(UITypeEditor))] + [Editor(typeof(FoldDialogEditor), typeof(UITypeEditor))] public string ImageSaveFolder { get; set; } = ""; + + [Category("灞忚斀閰嶇疆")] + [Description("true锛氬睆钄藉畨鍏ㄩ棬 false锛氬惎鐢ㄥ畨鍏ㄩ棬")] + [ReadOnly(true)] + public bool IsSafetyDoorBlocked { get; set; } = false; + + [Category("灞忚斀閰嶇疆")] + [Description("true锛氬睆钄藉畨鍏ㄥ厜绾� false锛氬惎鐢ㄥ畨鍏ㄥ厜绾�")] + [ReadOnly(true)] + public bool IsSafetyBeamBlocked { get; set; } = false; + + [Category("灞忚斀閰嶇疆")] + [Description("true锛氬睆钄借渹楦e櫒 false锛氬惎鐢ㄨ渹楦e櫒")] + public bool IsBeepBlocked { get; set; } = false; + + [Category("灞忚斀閰嶇疆")] + [Description("true锛氱姝㈡墜鍔ㄨ緭鍏ユ潯鐮� false锛氬厑璁告墜鍔ㄨ緭鍏ユ潯鐮�")] + public bool IsBarcodeManulInputBlocked { get; set; } = true; } } -- Gitblit v1.8.0