From 5a5a2b696866f947b6025d26c3302e8ffef46435 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 11 一月 2021 16:11:20 +0800 Subject: [PATCH] 2021-01-11 1.更新MQTT连接和本地搜索网关方法。2.子账号相关接口完善 --- Crabtree/SmartHome/UI/SimpleControl/Phone/UniversalDevice/UserDeviceToUniversalDevice.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/UniversalDevice/UserDeviceToUniversalDevice.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/UniversalDevice/UserDeviceToUniversalDevice.cs index a4bb3f8..8345a27 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/UniversalDevice/UserDeviceToUniversalDevice.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/UniversalDevice/UserDeviceToUniversalDevice.cs @@ -282,9 +282,11 @@ Control.ControlBytesSend (Command.SetCommonSwitch, udDevice.SubnetID, udDevice.DeviceID, new byte [] { udDevice.SendBytes [0], 255 },SendCount.Zero); } lightView.BorderColor = SkinStyle.Current.Transparent; + tempON.BorderColor = SkinStyle.Current.BorderColor; }; tempON.MouseDownEventHandler += (sende3r, e3) => { lightView.BorderColor = SkinStyle.Current.SelectedColor; + tempON.BorderColor = SkinStyle.Current.SelectedColor; }; } tempSiwtch.MouseUpEventHandler += (sender3, e3) => { @@ -298,9 +300,11 @@ } } lightView.BorderColor = SkinStyle.Current.Transparent; + tempSiwtch.BorderColor = SkinStyle.Current.BorderColor; }; tempSiwtch.MouseDownEventHandler += (sende3r, e3) => { lightView.BorderColor = SkinStyle.Current.SelectedColor; + tempSiwtch.BorderColor = SkinStyle.Current.SelectedColor; }; } } -- Gitblit v1.8.0