From 7232642ff48a7fbde2018cde652f3e771fa58025 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 27 一月 2021 14:32:55 +0800
Subject: [PATCH] 20200127-英文版处理

---
 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