From 84bad8c7dfa0f098c625c48264d47bcef1e510f0 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 31 七月 2023 14:18:46 +0800 Subject: [PATCH] 提示字体修复 --- HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchP3SubloopEnergyPage.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchP3SubloopEnergyPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchP3SubloopEnergyPage.cs index b9cfbc3..d47db5a 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchP3SubloopEnergyPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchP3SubloopEnergyPage.cs @@ -496,9 +496,10 @@ TextSize = 49, TextColor = 0xFF030D1C, TextAlignment = TextAlignment.Center, - Text = device.GetAttrState(FunctionAttributeKey.TotalElectricity), + Text = device.GetAttrState(key), }; totalElectricityView.AddChidren(btnTotalNumber); + btnShowHistroyData_Day.MouseUpEventHandler += (sender, e) => { totalElectricityView.RemoveFromParent(); @@ -506,6 +507,7 @@ //viewa.Visible = true; //viewb.Visible = true; //viewc.Visible = true; + btnTip.TextID = StringId.AirSwitchP3HistroyTip1; historyDataView.Height = Application.GetRealHeight(330); }; btnShowHistroyData_Month.MouseUpEventHandler += (sender, e) => { @@ -514,6 +516,7 @@ //viewa.Visible = true; //viewb.Visible = true; //viewc.Visible = true; + btnTip.TextID = StringId.AirSwitchP3HistroyTip2; historyDataView.Height = Application.GetRealHeight(330); }; btnShowHistroyData_Year.MouseUpEventHandler += (sender, e) => { @@ -522,6 +525,7 @@ //viewa.Visible = true; //viewb.Visible = true; //viewc.Visible = true; + btnTip.TextID = StringId.AirSwitchP3HistroyTip3; historyDataView.Height = Application.GetRealHeight(330); }; btnShowHistroyData_Total.MouseUpEventHandler += (sender, e) => { -- Gitblit v1.8.0