From 5f46903845cf9b2cb4d7f186370d3eb7fb6c9577 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 21 一月 2021 16:05:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/NewFilePath' into WJC --- 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 ba68f05..ae58b88 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -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,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