From 9c33e4ccb90fae87a614abd2ed1ab034d3b7a13d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 26 三月 2021 11:26:01 +0800 Subject: [PATCH] 2021-03-26 1.对接接口优化。 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs index 2cd57e7..6d95d0e 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Logic.cs @@ -7,10 +7,19 @@ /// </summary> public class Logic { + + /// <summary> + /// 閫昏緫鍒楄〃 + /// </summary> + public static List<Logic> LogicList = new List<Logic>(); /// <summary> /// 褰撳墠閫昏緫 /// </summary> public static Logic currlogic; + /// <summary> + /// 浜戠鍞竴id + /// </summary> + public string userLogicId = ""; /// <summary> /// 閫昏緫鍞竴鏍囪瘑 /// </summary> @@ -18,11 +27,11 @@ /// <summary> /// 閫昏緫鍚嶇О /// </summary> - public string name = "閫昏緫涓�"; + public string name = "鑷姩鍖�"; /// <summary> /// 閫昏緫鏉′欢鍏崇郴锛堜笌and:锛屾垨:or锛� /// </summary> - public string relation = "or"; + public string relation = "and"; /// <summary> /// 閫昏緫鐘舵�侊紙true锛宖alse锛� /// </summary> @@ -51,7 +60,7 @@ /// 鏃堕棿绫诲瀷 /// (鎵ц涓�娆�:once锛屾瘡澶�:day锛屾瘡鏈�:mon锛屾槦鏈�:week锛屾棩鏈熸:date_to_date) /// </summary> - public string type = ""; + public string type = "day"; public List<string> value = new List<string>(); } /// <summary> @@ -90,7 +99,7 @@ /// 閫昏緫杈撳嚭鐩爣绫诲瀷 /// 璁惧=1; /// 鍦烘櫙=2; - /// 瀹夐槻=3; + /// 寤舵椂=3; /// </summary> public string target_type = ""; public List<Dictionary<string, string>> status = new List<Dictionary<string, string>>(); -- Gitblit v1.8.0