From 604341e5ef254ef6d4164423a342efef897a2172 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 22 一月 2021 17:51:48 +0800 Subject: [PATCH] 2021-1-22-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index cde7b8f..6b51a1f 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> @@ -341,6 +341,13 @@ //2-鍔熻兘鍥炬爣 for (int i = 0; i < logic.input.Count; i++) { + if (logic.input[i] == null || logic.input[i].ToString() == "") + { + //闃叉鏈夌殑绌哄璞★紱 + //姝e父鎯呭喌涓嬩笉浼氳鐜拌薄锛� + continue; + } + var int1 = int.Parse(logic.input[i].condition_type); int iconInt = 0; switch (int1) -- Gitblit v1.8.0