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/InverterJinmaoPage.cs | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs index 539b572..b3212d9 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs @@ -556,7 +556,7 @@ Y = Application.GetRealWidth(191), Width = Application.GetRealWidth(100), Height = Application.GetRealWidth(24), - Text = "---", + Text = "--", TextAlignment = TextAlignment.Center, TextColor = CSS_Color.FirstLevelTitleColor, TextSize = 18, @@ -944,7 +944,7 @@ esRunStatus_BatteryIconButton = new Button() { - X = Application.GetRealWidth(343 - 12 - 20) - esRunStatus_BatteryValuesButton.Width, + X = Application.GetRealWidth(343 - 12 - 18) - esRunStatus_BatteryValuesButton.Width, Y = Application.GetRealWidth(16), Width = Application.GetRealWidth(20), Height = Application.GetRealWidth(20), @@ -956,10 +956,10 @@ var esRunStatus_ValuesInfoView = new FrameLayout() { - Width = Application.GetRealWidth(282), - Height = Application.GetRealWidth(153), + Width = Application.GetRealWidth(564/2), + Height = Application.GetRealWidth(306/2), Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealWidth(40), + Y = Application.GetRealWidth(40-7), BackgroundImagePath = "FunctionIcon/Acst/Inverter/EnergyStorageStatusBg.png", }; esStatusView.AddChidren(esRunStatus_ValuesInfoView); @@ -968,6 +968,7 @@ var esRunStatus_ChargeValuesView = new FrameLayout() { X = Application.GetRealWidth(15), + Y = Application.GetRealWidth(6), Width = Application.GetRealWidth(128), Height = Application.GetRealWidth(128), }; @@ -975,21 +976,21 @@ esRunStatus_ChargeValuesButton = new Button() { - Y = Application.GetRealWidth(36), + Y = Application.GetRealWidth(39), Height = Application.GetRealWidth(32), TextAlignment = TextAlignment.Center, Text = function.GetAttrState(InverterJinmao_AttrEnum.ess_charge_power.ToString()), TextColor = CSS_Color.FirstLevelTitleColor, TextSize = 24, IsBold = true, - FontName = fontName, + FontName = fontName, }; esRunStatus_ChargeValuesView.AddChidren(esRunStatus_ChargeValuesButton); var esRunStatus_ChargeTextButton = new Button() { X = Application.GetRealWidth(1), - Y = Application.GetRealWidth(76), + Y = Application.GetRealWidth(78), Height = Application.GetRealWidth(17), TextAlignment = TextAlignment.Center, Text = "瀹炴椂鍏呯數鍔熺巼(kw)", @@ -1003,6 +1004,7 @@ var esRunStatus_DischargeValuesView = new FrameLayout() { X = Application.GetRealWidth(132 + 13), + Y = Application.GetRealWidth(6), Width = Application.GetRealWidth(128), Height = Application.GetRealWidth(128), }; -- Gitblit v1.8.0