From a9d1161b1df96e7ddad566335989a1444e433ef5 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 28 三月 2023 11:54:45 +0800
Subject: [PATCH] 2023年03月28日11:52:02

---
 HDL_ON/Entity/Function/SecurityAlarm.cs |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/Entity/Function/SecurityAlarm.cs b/HDL_ON/Entity/Function/SecurityAlarm.cs
index ea29373..4ff0b58 100644
--- a/HDL_ON/Entity/Function/SecurityAlarm.cs
+++ b/HDL_ON/Entity/Function/SecurityAlarm.cs
@@ -33,6 +33,10 @@
         /// </summary>
         public string delay ="0";
         /// <summary>
+        /// 鎶ヨ寤舵椂
+        /// </summary>
+        public string output_delay = "0";
+        /// <summary>
         /// 鐘舵��
         /// 甯冮槻:enable
         /// 鎾掗槻:disable
@@ -272,9 +276,9 @@
         /// </summary>
         public string sid;
         /// <summary>
-        /// Bypass璁剧疆 true:鍚敤涓�乫alse:涓存椂bypass涓�
+        /// Bypass璁剧疆 false:鍚敤涓�乼rue:涓存椂bypass涓�
         /// </summary>
-        public string bypass;
+        public string bypass = "false";
         /// <summary>
         /// 瀹夐槻杈撳叆鏉′欢
         /// </summary>
@@ -457,6 +461,10 @@
         /// 鍊�	
         /// </summary>
         public string value;
+        /// <summary>
+        /// Bypass璁剧疆 true:涓存椂bypass涓�乫alse:鍚敤涓�
+        /// </summary>
+        public bool bypass = false;
     }
 
     /// <summary>
@@ -466,11 +474,11 @@
     {
         /// <summary>
         /// 鎺у埗鐩爣绫诲瀷
-        /// 0:璁惧
-        /// 1:鍦烘櫙
-        /// 2:鑷姩鍖�
+        /// 1:璁惧
+        /// 2:鍦烘櫙
+        /// 3:鑷姩鍖�
         /// </summary>
-        public string target_type = "0";
+        public string target_type = "1";
         /// <summary>
         /// 杈撳嚭鐩爣鐨剆id
         /// </summary>
@@ -483,7 +491,7 @@
         /// <summary>
         /// 鏈湴涓嶅瓨鍦ㄦ暟鎹紙鏁版嵁鍙兘琚垹浜嗭級
         /// </summary>
-        public bool NoLocalData ()
+        public bool LocalData ()
         {
             var function = FunctionList.List.GetLightList().Find((obj) => obj.sid == sid);
             if (function != null)
@@ -592,7 +600,7 @@
         public string StateText()
         {
             string text = "";
-            if (target_type == "0")
+            if (target_type == "1")
             {
                 switch (spk)
                 {
@@ -627,7 +635,7 @@
                         }
                         break;
                 }
-            }else if(target_type == "1")
+            }else if(target_type == "2")
             {
                 text = Language.StringByID(StringId.Open);
             }

--
Gitblit v1.8.0