From 745d1ce73a3b27d2a3507843c8060755a0c95765 Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期二, 21 十月 2025 19:06:36 +0800
Subject: [PATCH] 打印机条码格式修改,增添一个点检功能方法

---
 src/Bro.M141.Process/M141Config.cs |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/src/Bro.M141.Process/M141Config.cs b/src/Bro.M141.Process/M141Config.cs
index 576f8cd..bba1b8b 100644
--- a/src/Bro.M141.Process/M141Config.cs
+++ b/src/Bro.M141.Process/M141Config.cs
@@ -31,6 +31,12 @@
         public List<Printer> Printers { get; set; } = new List<Printer>();
 
 
+        [Category("鎵撳嵃鏈洪厤缃�")]
+        [Description("鏄惁鎵撳嵃灏佽鐮�")]
+        [DisplayName("鏄惁鎵撳嵃灏佽鐮�")]
+        public bool Isprint { get; set; } = false;
+
+
 
         [Category("浜у搧鏄剧ず鐣岄潰閰嶇疆")]
         [Description("瀛椾綋澶у皬")]
@@ -58,6 +64,14 @@
         [TypeConverter(typeof(CollectionCountConvert))]
         [Editor(typeof(ComplexCollectionEditor<MeasureBind>), typeof(UITypeEditor))]
         public List<MeasureBind> MeasureBindCollection { get; set; } = new List<MeasureBind>();
+
+
+        [Category("鐐规閰嶇疆")]
+        [Description("鐐规閰嶇疆闆嗗悎锛岄厤缃娴嬬殑宸ヤ綅锛屽浘鐗囩储寮曪紝鐩告満鍜屾娴嬭皟鐢ㄩ」鍏崇郴")]
+        [DisplayName("鐐规閰嶇疆闆嗗悎")]
+        [TypeConverter(typeof(CollectionCountConvert))]
+        [Editor(typeof(ComplexCollectionEditor<MeasureBind>), typeof(UITypeEditor))]
+        public List<MeasureBind> MeasureBindCollection_Check { get; set; } = new List<MeasureBind>();
 
 
 
@@ -386,6 +400,7 @@
         public string plcname { get; set; } = "";
 
 
+
         [Category("PLC閰嶇疆")]
         [DisplayName("鏄惁鍚敤")]
         [Description("鏄惁鍚敤")]
@@ -421,6 +436,12 @@
         [DisplayName("鎶ヨ鍚嶇О")]
         [Description("鎶ヨ鍚嶇О")]
         public string alarmname { get; set; } = "";
+
+        [Category("閰嶇疆")]
+        [DisplayName("鎶ヨ绉嶇被")]
+        [Description("鎶ヨ绉嶇被")]
+        public string alarmtype { get; set; } = "";
+
 
         [Browsable(false)]
         [JsonIgnore]
@@ -514,12 +535,6 @@
         public string code { get; set; }
 
     }
-
-
-
-
-
-
     public class MeasureBind : IComplexDisplay, IHalconToolPath
     {
         [Category("绱㈠紩閰嶇疆")]
@@ -1098,14 +1113,10 @@
         [Editor(typeof(FoldDialogEditor), typeof(UITypeEditor))]
         public string ImageFolder { get; set; }
 
-
-
         [Category("妫�娴嬪姛鑳�")]
         [Description("鍥剧墖鍦ㄦ壒閲忔祴璇曡繃绋嬩腑鏈�缁堝浘鐗囩粨鏋滀細瀛樺偍杈冩參闇�瑕佽缃欢鏃剁‘淇濆浘鐗囦笉琚祫婧愯嚜鍔ㄩ噴鏀�")]
         [DisplayName("鍥剧墖瀛樺浘寤舵椂")]
         public int SaveImageTime { get; set; } = 0;
-
-
 
         [Category("妫�娴嬪姛鑳�")]
         [Description("true锛氬惎鍔∣K娴嬭瘯 false锛氬惎鍔∟G娴嬭瘯")]

--
Gitblit v1.8.0