From adc150efb13a0506f45a3c344c3ee2ef2dba8e90 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:19:13 +0800 Subject: [PATCH] 合并嘉乐lc代码 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs | 41 ++++++++++++++++++++++++++++++++--------- 1 files changed, 32 insertions(+), 9 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..f4ae025 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs @@ -5,7 +5,6 @@ /// <summary> /// 閫昏緫瀛樺偍鏁版嵁瀵硅薄 /// </summary> - [Serializable] public class Logic { @@ -49,17 +48,24 @@ /// 閫昏緫杈撳嚭鐩爣鏁扮粍 /// </summary> public List<Output> output = new List<Output>(); +<<<<<<< HEAD + /// <summary> + /// 閫氱煡閰嶇疆 + /// </summary> + public NoticeConfig noticeConfig = new NoticeConfig(); /// <summary> /// 鎺ㄩ�侀厤缃� /// </summary> public List<PushConfigs> pushConfigs = new List<PushConfigs>(); +======= + +>>>>>>> origin/CJL-LC } /// <summary> /// 鎵ц鍛ㄦ湡瀵硅薄 /// </summary> - [Serializable] public class Cycle { /// <summary> @@ -72,7 +78,6 @@ /// <summary> /// 杈撳叆鏉′欢瀵硅薄 /// </summary> - [Serializable] public class Input { /// <summary> @@ -92,21 +97,20 @@ /// </summary> public string condition_type = ""; public List<Dictionary<string, string>> condition = new List<Dictionary<string, string>>(); - /// <summary> - /// 鍦扮悊鍥存爮閰嶇疆 - /// </summary> - public Fence geo_fence = new Fence(); } /// <summary> /// 杈撳嚭鐩爣瀵硅薄 /// </summary> - [Serializable] public class Output { /// <summary> /// 閫昏緫杈撳嚭鐩爣鍞竴鏍囪瘑 /// </summary> public string sid = ""; + /// <summary> + /// 閫昏緫杈撳嚭鐩爣寤舵椂闂�(鍗曚綅鐢ㄧ) + /// </summary> + public string delay = "0"; /// <summary> /// 閫昏緫杈撳嚭鐩爣绫诲瀷 /// 璁惧=1; @@ -116,6 +120,7 @@ public string target_type = ""; public List<Dictionary<string, string>> status = new List<Dictionary<string, string>>(); } +<<<<<<< HEAD /// <summary> /// 鍦扮悊鍥存爮閰嶇疆 /// </summary> @@ -136,6 +141,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,12 +168,15 @@ /// <summary> /// 鎺ㄩ�佸唴瀹� /// </summary> - public string pushContent = string.Empty; + //public string pushContent = string.Empty; /// <summary> /// 鎺ㄩ�佺洰鏍� /// </summary> public List<string> pushTarget = new List<string> {}; } +======= + +>>>>>>> origin/CJL-LC } -- Gitblit v1.8.0