From 7addb1dc6d80cc48c0478aa7ac9820363d4eebf6 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 23 六月 2021 09:40:49 +0800 Subject: [PATCH] Merge branch 'WJC' into temp-wxr --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index 0d9542d..28e66fa 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -211,6 +211,7 @@ conditionJOb.Add("key", dic["key"]); var c1 = ""; dic.TryGetValue("comparator", out c1); + c1 = string.IsNullOrEmpty(c1) ? "" : c1; conditionJOb.TryAdd("comparator", c1); conditionJOb.Add("data_type", dic["data_type"]); conditionJOb.Add("value", dic["value"]); @@ -244,7 +245,8 @@ var pushConfigsArray = new JArray { }; if (logic.pushConfigs.Count > 0) - { //聽鎺ㄩ�佹枃鏈� + { + //聽鎺ㄩ�佹枃鏈� foreach (var pushConfig in logic.pushConfigs) { -- Gitblit v1.8.0