From d987694e57c3bce76bd5a208d74a3696db222a4a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 14 一月 2021 14:00:06 +0800 Subject: [PATCH] Merge branch 'WJC' into NewFilePath --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 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..c073d7f 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -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