From 23f3b7a482ef167b6192365e75749af1ca1a6c52 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 20 四月 2021 17:58:44 +0800 Subject: [PATCH] 2021-4-20-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs index d643f14..d392722 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs @@ -50,6 +50,10 @@ /// </summary> public List<Output> output = new List<Output>(); /// <summary> + /// 閫氱煡閰嶇疆 + /// </summary> + public NoticeConfig noticeConfig = new NoticeConfig(); + /// <summary> /// 鎺ㄩ�侀厤缃� /// </summary> public List<PushConfigs> pushConfigs = new List<PushConfigs>(); @@ -136,6 +140,21 @@ public string radius = string.Empty; } /// <summary> + /// 閫氱煡閰嶇疆 + /// </summary> + [Serializable] + public class NoticeConfig + { + /// <summary> + /// 鏄惁寮�鍚�氱煡 + /// </summary> + public bool enable = false; + /// <summary> + /// 閫氱煡鍐呭 + /// </summary> + public string noticeContent = "鑷姩鍖栧凡缁忔墽琛�";//string.Empty; + } + /// <summary> /// 鎺ㄩ�侀厤缃� /// </summary> [Serializable] @@ -148,7 +167,7 @@ /// <summary> /// 鎺ㄩ�佸唴瀹� /// </summary> - public string pushContent = string.Empty; + //public string pushContent = string.Empty; /// <summary> /// 鎺ㄩ�佺洰鏍� /// </summary> -- Gitblit v1.8.0