From a154c3ce81601e3c202d3c5f4d0a8cefc5a7e8ae Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 02 三月 2022 11:49:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/release0123' into wjc
---
HDL_ON/UI/UI2/1-HomePage/HomePage.cs | 36 +++++++++++++++++++-----------------
1 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index 87e2038..bed8a4e 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -161,23 +161,9 @@
};
topView.AddChidren(btnTop);
- btnLinkStateTip = new Button()
- {
- X = Application.GetRealWidth(16),
- Y = Application.GetRealHeight(46),
- Width = Application.GetRealWidth(6),
- Height = Application.GetRealWidth(6),
- BackgroundColor = CSS_Color.LinkTipFail,
- Radius = (uint)Application.GetRealWidth(3),
- };
- topView.AddChidren(btnLinkStateTip);
- //鏇存柊閾炬帴鐘舵�乮con棰滆壊
- CheckLinkStatus();//2020-12-22
-
-
btnResidenceName = new Button()
{
- X = Application.GetRealWidth(26),
+ X = Application.GetRealWidth(16),
Y = Application.GetRealHeight(32),
Width = Application.GetRealWidth(300),
Height = Application.GetRealHeight(33),
@@ -188,12 +174,25 @@
IsBold = true
};
topView.AddChidren(btnResidenceName);
+ btnLinkStateTip = new Button()
+ {
+ //X = Application.GetRealWidth(16),
+ Y = btnResidenceName.Bottom,
+ Height = Application.GetRealWidth(14),
+ BackgroundColor = CSS_Color.LinkTipFail,
+ TextAlignment = TextAlignment.Center,
+ TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+ TextColor = CSS_Color.MainBackgroundColor,
+ };
+ topView.AddChidren(btnLinkStateTip);
+ //btnLinkStateTip.Width = btnLinkStateTip.GetTextWidth();
+ //鏇存柊閾炬帴鐘舵�乮con棰滆壊
+
+
#if DEBUG
- int msdId = 111;
btnResidenceName.MouseUpEventHandler = (sender, e) =>
{
- Control.Ins.AuthGateway();
};
#endif
@@ -203,6 +202,8 @@
Height = Application.GetRealHeight(32),
};
topView.AddChidren(environmentalView);
+ CheckLinkStatus();//2020-12-22
+
#region 鐜鏁版嵁
var tempSensorList = FunctionList.List.GetEnvirSensorsList().FindAll((obj) => obj.spk == SPK.SensorTemperature);
var humiSensorList = FunctionList.List.GetEnvirSensorsList().FindAll((obj) => obj.spk == SPK.SensorHumidity);
@@ -1186,6 +1187,7 @@
{
btnIcon.UnSelectedImagePath = "FunctionIcon/Music/MusicIcon.png";
btnIcon.SelectedImagePath = "FunctionIcon/Music/MusicOnIcon.png";
+ btnCollection.Visible = false;
Button btnPower;
btnPower = new Button()
{
--
Gitblit v1.8.0