From fe71457a47ea84b917c6b059c4c7f3050a952f25 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 05 六月 2023 15:28:34 +0800 Subject: [PATCH] 增加红外人体传感器 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 15 +++++++++++++-- 1 files changed, 13 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 1a14583..98e5cd6 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -67,13 +67,12 @@ logicView.btnSwitchIcon.IsSelected = false; currLogic.enable = "false"; } - //Send.switchLogic(currLogic); new System.Threading.Thread(() => { try { //閫昏緫浣胯兘鐨勫懡浠� - Send.Current.SwitchLogic(currLogic); + Send.Current.EnableLogic(currLogic); } catch { } @@ -396,6 +395,12 @@ } break; + case 8: + { + iconInt = 5; + + } + break; case 10: { iconInt = 4; @@ -512,6 +517,12 @@ strIcon = "LogicIcon/selectTheScene.png"; } break; + case 5: + { + + strIcon = "LogicIcon/selectlocation.png"; + } + break; case 11: { //鍒嗗壊鏉′欢鍜岀洰鏍囩殑鍥炬爣 -- Gitblit v1.8.0