From 28d269d8aa90eca5470fff825a9b9545135a3ec0 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 16 十二月 2020 17:37:26 +0800
Subject: [PATCH] 上传一个初始版本
---
HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
index 0878e07..60ac145 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
@@ -176,7 +176,7 @@
{
X = Application.GetRealWidth(35),
Y = btnBrightnessText.Bottom,
- Width = Application.GetRealWidth(30),
+ Width = Application.GetRealWidth(22),
Height = Application.GetRealHeight(21),
Text = "0%",
TextAlignment = TextAlignment.CenterLeft,
@@ -187,7 +187,7 @@
dimmerBar = new DiyImageSeekBar()
{
- X = Application.GetRealWidth(35 +22),
+ X = btnMinValuesText.Right,
Y = Application.GetRealHeight(312),
Width = Application.GetRealWidth(210),
Height = Application.GetRealHeight(54),
@@ -207,7 +207,7 @@
{
X = dimmerBar.Right,
Y = btnBrightnessText.Bottom,
- Width = Application.GetRealWidth(45),
+ Width = Application.GetRealWidth(35),
Height = Application.GetRealHeight(21),
Text = "100%",
TextAlignment = TextAlignment.CenterLeft,
@@ -303,11 +303,6 @@
LoadEventList();
new TopViewDiv(bodyView, Language.StringByID(StringId.Lights)).LoadTopView_FunctionTop(light, actionRefresh);
- new System.Threading.Thread(() =>
- {
- DriverLayer.Control.Ins.SendReadCommand(light);
- })
- { IsBackground = true }.Start();
}
}
}
--
Gitblit v1.8.0