From 69ee76c13978285f07e183e013bd601cb72afc92 Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期三, 27 八月 2025 16:45:24 +0800
Subject: [PATCH] PLC报警添加种类分别存储

---
 src/Bro.M141.Process/M141Config.cs |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/src/Bro.M141.Process/M141Config.cs b/src/Bro.M141.Process/M141Config.cs
index 0000efa..786e81b 100644
--- a/src/Bro.M141.Process/M141Config.cs
+++ b/src/Bro.M141.Process/M141Config.cs
@@ -104,7 +104,33 @@
             }
         }
 
+        [Category("杩炵画NG鎶ヨ璁剧疆")]
+        [Description("杩炵画NG鎶ヨ鎬诲紑鍏炽�倀rue锛氬紑鍚繛缁璑G鎶ヨ銆�false锛氬叧闂繛缁璑G鎶ヨ鏈哄埗")]
+        [DisplayName("杩炵画NG鎶ヨ鎬诲紑鍏�")]
+        public bool IsEnableContinuousNGAlarm { get; set; } = true;
 
+        [Category("杩炵画NG鎶ヨ璁剧疆")]
+        [Description("杩炵画NG鎶ヨ鍦板潃銆傚嚭鐜拌繛缁璑G鏃讹紝涓婁綅鏈哄悜璇ュ湴鍧�鍐欏叆1锛屽彇娑堟椂锛屽悜璇ュ湴鍧�鍐欏叆0銆�")]
+        [DisplayName("杩炵画NG鎶ヨ鍦板潃")]
+        public int ContinuousNGAlarmAddress { get; set; } = 0;
+
+        //[Category("杩炵画NG鎶ヨ璁剧疆")]
+        //[Description("杩炵画NG鎶ヨ涓婁紶MES鐨勬柟娉曞湴鍧�銆�")]
+        //[DisplayName("杩炵画NG鎶ヨ涓婁紶MES鐨勬柟娉曞湴鍧�")]
+        //public string ContinuousNGAlarmMESFunc { get; set; } = "";
+
+        [Category("杩炵画NG鎶ヨ璁剧疆")]
+        [Description("杩炵画NG鎶ヨ鏄惁闇�瑕佷汉宸ュ浣�")]
+        [DisplayName("杩炵画NG鎶ヨ鏄惁闇�瑕佷汉宸ュ浣�")]
+        public bool IsOperatorReset { get; set; } = false;
+
+
+        [Category("杩炵画NG鎶ヨ璁剧疆")]
+        [Description("杩炵画NG鎶ヨ璁剧疆闆嗗悎銆傝缃繛缁璑G鎶ヨ鐨勫紑鍏筹紝绫诲瀷锛屾暟閲忓拰鏃堕棿闃堝�笺�傛坊鍔犳垨鍒犻櫎鐩戞帶闇�瑕佽蒋浠堕噸鍚敓鏁堛��")]
+        [DisplayName("杩炵画NG鎶ヨ璁剧疆闆嗗悎")]
+        [TypeConverter(typeof(CollectionCountConvert))]
+        [Editor(typeof(ComplexCollectionEditor<ContinuousNGAlarm>), typeof(UITypeEditor))]
+        public List<ContinuousNGAlarm> ContinuousNGAlarmColletion { get; set; } = new List<ContinuousNGAlarm>();
 
         [Category("浣嶇疆搴﹁缃�")]
         [Description("浜у搧娴嬮噺鐐逛綅闆嗗悎")]
@@ -360,6 +386,7 @@
         public string plcname { get; set; } = "";
 
 
+
         [Category("PLC閰嶇疆")]
         [DisplayName("鏄惁鍚敤")]
         [Description("鏄惁鍚敤")]
@@ -396,6 +423,12 @@
         [Description("鎶ヨ鍚嶇О")]
         public string alarmname { get; set; } = "";
 
+        [Category("閰嶇疆")]
+        [DisplayName("鎶ヨ绉嶇被")]
+        [Description("鎶ヨ绉嶇被")]
+        public string alarmtype { get; set; } = "";
+
+
         [Browsable(false)]
         [JsonIgnore]
         public int value { get; set; } = -1;

--
Gitblit v1.8.0