From efcffde735fa65ae34bae0bcc86313b74ed0e36c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 20 五月 2024 13:47:38 +0800 Subject: [PATCH] 优化离线数据 --- HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs index d82a852..d5c0ef9 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs @@ -87,7 +87,7 @@ controlView = new FrameLayout() { Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(88), + Y = Application.GetRealHeight(88 + 10), Width = Application.GetRealWidth(327), Height = Application.GetRealHeight(526), BackgroundImagePath = "Public/Fragmentbg.png", @@ -485,13 +485,13 @@ btnShortcut.UnSelectedImagePath = "FunctionIcon/Light/MeetingGuestsIconOn.png"; }; - //浼氬 3000k + //浼氬 4500k var btnMeet = new Button(); btnMeet.X = btnMeetIcon.Right + Application.GetRealWidth(12); btnMeet.Y = btnMeetIcon.Y; btnMeet.Width = Application.GetRealWidth(100); btnMeet.Height = Application.GetRealWidth(24); - btnMeet.Text = Language.StringByID(StringId.MeetingGuests) + " 3000K"; + btnMeet.Text = Language.StringByID(StringId.MeetingGuests) + " 4500K"; btnMeet.TextSize = CSS_FontSize.TextFontSize; btnMeet.TextColor = CSS_Color.FirstLevelTitleColor; btnMeet.SelectedTextColor = CSS_Color.MainColor; @@ -499,7 +499,7 @@ frameWhite.AddChidren(btnMeet); btnMeet.MouseUpEventHandler += (sender, e) => { - barColorTemplatrue.Progress = 30; + barColorTemplatrue.Progress = 45; function.SetAttrState(FunctionAttributeKey.CCT, barColorTemplatrue.Progress * 100); barColorTemplatrue.SetCustomText((barColorTemplatrue.Progress * 100) + "K"); frameBack.Close(); @@ -563,7 +563,7 @@ btnCozy.IsSelected = true; btnCozyIcon.IsSelected = true; } - if (function.GetAttrState(FunctionAttributeKey.CCT) == "3000") + if (function.GetAttrState(FunctionAttributeKey.CCT) == "4500") { btnMeet.IsSelected = true; btnMeetIcon.IsSelected = true; -- Gitblit v1.8.0