From 5b77d9d57a6cddb474a66ca54401ad5ab0892db3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 23 十一月 2022 14:23:42 +0800 Subject: [PATCH] Merge branch 'dev--wxr' into LcSdkV1 --- HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubHistoryPage.cs | 14 ++++++++------ 1 files changed, 8 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..bd1070c 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,7 @@ /// </summary> public void LoadPage() { - new TopViewDiv(bodyView, function.GetRoomListName()).LoadTopView(); + new TopViewDiv(bodyView, function.name).LoadTopView(); bodyView.BackgroundColor = CSS_Color.BackgroundColor; //var contentView = new FrameLayout() @@ -134,7 +136,7 @@ { Y = Application.GetRealHeight(222), Height = Application.GetRealHeight(34), - Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮俯搴�", + TextID = StringId.Temp, TextSize = 10, TextColor = 0xFF798394, TextAlignment = TextAlignment.Center, @@ -169,7 +171,7 @@ { Y = Application.GetRealHeight(222), Height = Application.GetRealHeight(34), - Text = "鏈�杩�24灏忔椂鐨勫钩鍧囧鍐呮箍搴�", + TextID = StringId.Humidity, TextSize = 10, TextColor = 0xFF798394, TextAlignment = TextAlignment.Center, @@ -327,7 +329,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 +385,7 @@ } humiEchartsOption.InitXdataText(vs); } - humiEchartsOption.InitYdataText("", revertData, "#FF80AEFF"); + humiEchartsOption.InitYdataTextLinearGradient("(%)", revertData, colorString); } } humiEchartsOption.xTitle = Language.StringByID(StringId.timeMode); -- Gitblit v1.8.0