From bbcd6c2017762f9a0e6cf0ac6466bbf78f593b14 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 19 四月 2021 09:36:40 +0800 Subject: [PATCH] Merge branch 'wxr4' into temp-wxr --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index ba68f05..9a56c61 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -9,7 +9,7 @@ public class MainView { /// <summary> - /// 璁板綍閫昏緫鑷姩鍖栫埗鎺т欢 + /// VerticalRefreshLayout鐖舵帶浠� /// </summary> public static FrameLayout automationPage; /// <summary> @@ -123,7 +123,7 @@ /// <summary> /// 鎸�+璺宠浆鍒伴�昏緫鐣岄潰鐨勬柟娉� /// </summary> - public static void SkipAddLogicPage() + public void SkipAddLogicPage() { Logic.currlogic = new Logic(); var addLogic = new AddLogic(); @@ -244,7 +244,7 @@ if (idStr.Code == "0" && idStr.Data != null && idStr.Data.ToString() != "") { var date = Newtonsoft.Json.JsonConvert.SerializeObject(idStr.Data); - var dateList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Date>>(date); + var dateList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<LogicData>>(date); for (int i = 0; i < dateList.Count; i++) { //娣诲姞閫昏緫ID @@ -328,7 +328,7 @@ /// 鏄剧ず鏉′欢鎴栬�呯洰鏍囩被鍨嬪浘鏍� /// </summary> /// <param name="layouFrame">鐖舵帶浠�</param> - /// <param name="logic">褰撳墠閫昏緫</param> + /// <param name="logic">褰撳墠鑷姩鍖�</param> private static void GetSelectIcon(FrameLayout layouFrame, Logic logic) { @@ -341,6 +341,7 @@ //2-鍔熻兘鍥炬爣 for (int i = 0; i < logic.input.Count; i++) { + var int1 = int.Parse(logic.input[i].condition_type); int iconInt = 0; switch (int1) @@ -477,12 +478,12 @@ } } } - class Date + class LogicData { /// <summary> /// 浜戠鍞竴id /// </summary> - public string userLogicId = ""; + public string userLogicId = ""; /// <summary> /// 缃戝叧id /// </summary> -- Gitblit v1.8.0