From 2a3f24ee7a01ab00b1a3c98062c5450ec75e7764 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 21 十二月 2020 09:37:11 +0800 Subject: [PATCH] 2020-12-21 1.修复个人中心跳转二维码页面,弹出欢迎回家问题。 --- HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs index 6e50522..74c6a54 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs @@ -190,19 +190,18 @@ Control.Ins.SendWriteCommand(curtain, d); }; - btnStop.MouseDownEventHandler = (sender, e) => + //btnStop.MouseDownEventHandler = (sender, e) => + //{ + // btnStop.IsSelected = true; + // btnClose.IsSelected = false; + // btnOpen.IsSelected = false; + //}; + btnStop.MouseUpEventHandler = (sender, e) => { btnStop.IsSelected = true; btnClose.IsSelected = false; btnOpen.IsSelected = false; - }; - btnStop.MouseUpEventHandler = (sender, e) => - { - btnOpen.IsSelected = true; - btnClose.IsSelected = false; - btnStop.IsSelected = false; curtain.trait_on_off.curValue = "stop"; - //curtain.percent = 0; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); d.Add("on_off", curtain.trait_on_off.curValue.ToString()); Control.Ins.SendWriteCommand(curtain, d); -- Gitblit v1.8.0