From 9b76aa77b9c5bf8ccb373cb30e3dca85d224175e Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 25 十月 2024 11:36:49 +0800
Subject: [PATCH] 金茂UI走查,字体更换
---
HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs
index eb0b3db..13b33bc 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs
@@ -35,10 +35,12 @@
string curQueryType = "hour";
string queryTime;
Function function;
- public AcstSubHistoryPage(Function temp)
+ string colorString;
+ public AcstSubHistoryPage(Function temp,string colorStr)
{
function = temp;
bodyView = this;
+ colorString = colorStr;
}
@@ -47,7 +49,10 @@
/// </summary>
public void LoadPage()
{
- new TopViewDiv(bodyView, function.GetRoomListName()).LoadTopView();
+ var topView = new TopViewDiv(bodyView, function.name);
+ topView.maginY = 10;
+ topView.LoadTopView();
+
bodyView.BackgroundColor = CSS_Color.BackgroundColor;
//var contentView = new FrameLayout()
@@ -134,7 +139,7 @@
{
Y = Application.GetRealHeight(222),
Height = Application.GetRealHeight(34),
- Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮俯搴�",
+ TextID = StringId.Temp,
TextSize = 10,
TextColor = 0xFF798394,
TextAlignment = TextAlignment.Center,
@@ -169,7 +174,7 @@
{
Y = Application.GetRealHeight(222),
Height = Application.GetRealHeight(34),
- Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮箍搴�",
+ TextID = StringId.Humidity,
TextSize = 10,
TextColor = 0xFF798394,
TextAlignment = TextAlignment.Center,
@@ -327,7 +332,7 @@
}
tempEchartOption.InitXdataText(vs);
}
- tempEchartOption.InitYdataText("", revertData, "#FF80AEFF");
+ tempEchartOption.InitYdataTextLinearGradient("(掳C)", revertData, colorString);
tempEchartOption.xTitle = Language.StringByID(StringId.timeMode);
var opString = tempEchartOption.InitOption();
@@ -383,7 +388,7 @@
}
humiEchartsOption.InitXdataText(vs);
}
- humiEchartsOption.InitYdataText("", revertData, "#FF80AEFF");
+ humiEchartsOption.InitYdataTextLinearGradient("(%)", revertData, colorString);
}
}
humiEchartsOption.xTitle = Language.StringByID(StringId.timeMode);
--
Gitblit v1.8.0