From 9dce5facf5c6aa29928880a0fa2fbfc7366a6dad Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 08 十二月 2020 15:00:57 +0800 Subject: [PATCH] 2020-12-08 1.修改回动态切换域名,用户相关接口使用用户域名,住宅相关接口用住宅的域名。 --- HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs index cc59f6e..3b75554 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPageBLL.cs @@ -48,6 +48,7 @@ actionRefresh = () => { btnFunctionName.Text = btnFunctionName_Out.Text = light.name; btnFromFloor_Out.Text = btnFromFoorAndRoom.Text = light.GetRoomListName(); + light.SaveFunctionData(); }; } @@ -85,7 +86,7 @@ void LoadCollectionEvent() { btnCollection.MouseUpEventHandler += (sender, e) => { - btnCollection.IsSelected = light.collection = btnCollection_Out.IsSelected = !btnCollection.IsSelected; + btnCollection.IsSelected = light.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected; light.SaveFunctionData(); }; } -- Gitblit v1.8.0