From 8cff2332227221980f6173bcf1289b16841bfe6a Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 15 九月 2022 15:47:02 +0800
Subject: [PATCH] 2022年09月15日15:47:00
---
HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs | 2 +-
HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
index abe73d9..975533b 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/ConditionDeviceFunList.cs
@@ -1008,7 +1008,7 @@
//鐣岄潰鏄剧ず閫変腑鍊�
btnState.Text = face.userName;
//鏁版嵁灏佽
- AddDictionary("open_type", "1", "string");
+ AddDictionary("open_type", "1", "integer");
AddDictionary("user_id", face.userId, "string");
}, false);
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
index bb125ff..5a95e83 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs
@@ -240,7 +240,10 @@
var inputTypeJOb = new JObject { };
inputTypeJOb.Add("sid", dictionary.sid);
inputTypeJOb.Add("condition_type", dictionary.condition_type);
-
+ if (dictionary.condition_type == "9")
+ {
+ inputTypeJOb.Add("identifier", dictionary.identifier);
+ }
var conditionArray = new JArray { };
foreach (var dic in dictionary.condition)
{
--
Gitblit v1.8.0