From 2ada6ff2b2db4f10ff6a44333d07a51777c5c4a8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 09 七月 2021 17:18:48 +0800 Subject: [PATCH] 合并温居城代码 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index 301ee67..372f4bb 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -359,7 +359,8 @@ //2-鍔熻兘鍥炬爣 for (int i = 0; i < logic.input.Count; i++) { - + if (logic.input[i] == null) + continue; var int1 = int.Parse(logic.input[i].condition_type); int iconInt = 0; switch (int1) @@ -512,7 +513,7 @@ /// <summary> /// 鍒ゆ柇缃戝叧绫诲瀷(0:bus缃戝叧锛�1:A鍗忚缃戝叧) /// </summary> - /// <returns></returns> + /// <returns>true=A鍗忚缃戝叧;false=bus缃戝叧</returns> public static bool IsGatewayType { get -- Gitblit v1.8.0