From 1dfc4324f2ce375b79da1021e50417023e6b2da9 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 28 三月 2023 09:05:27 +0800 Subject: [PATCH] 备份 --- HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs index c58d221..0eb7ff8 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs @@ -421,6 +421,10 @@ SelectedImagePath = "FunctionIcon/Light/LightScene/CheckOnIcon.png", IsSelected = functions.Find((obj) => obj.deviceId == function.deviceId) != null }; + if (DB_ResidenceData.Instance.CurrentRegion.isSupportGroupControl) + { + btnSelect.X = Application.GetRealWidth(323); + } bodyDiv.AddChidren(btnSelect); btnSelect.MouseUpEventHandler = (sender, e) => { @@ -521,7 +525,7 @@ { if (!commandDic.ContainsKey(FunctionAttributeKey.Brightness)) { - commandDic.Add(FunctionAttributeKey.Brightness, lightCCT[0].GetAttrState(FunctionAttributeKey.Brightness)); + commandDic.Add(FunctionAttributeKey.Brightness, lightDimming[0].GetAttrState(FunctionAttributeKey.Brightness)); } } -- Gitblit v1.8.0