From 54c202bd4867092fca2bc6f96bec0cfd1056a46a Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 06 十一月 2023 11:24:20 +0800 Subject: [PATCH] 2023年11月06日11:23:46 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index 069e547..1fe9733 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -118,6 +118,10 @@ { inputTypeJOb.Add("hold_time", dictionary.hold_time); } + if (!string.IsNullOrEmpty(dictionary.detect_type)) + { + inputTypeJOb.Add("detect_type", dictionary.detect_type); + } inputTypeJOb.Add("condition_type", dictionary.condition_type); if (dictionary.condition_type=="9") { inputTypeJOb.Add("identifier", dictionary.identifier); @@ -249,6 +253,10 @@ { inputTypeJOb.Add("hold_time", dictionary.hold_time); } + if (!string.IsNullOrEmpty(dictionary.detect_type)) + { + inputTypeJOb.Add("detect_type", dictionary.detect_type); + } inputTypeJOb.Add("condition_type", dictionary.condition_type); if (dictionary.condition_type == "9") { -- Gitblit v1.8.0