| | |
| | | Y = Application.GetRealWidth(191), |
| | | Width = Application.GetRealWidth(100), |
| | | Height = Application.GetRealWidth(24), |
| | | Text = "---", |
| | | Text = "--", |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = 18, |
| | |
| | | |
| | | 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), |
| | |
| | | |
| | | 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); |
| | |
| | | var esRunStatus_ChargeValuesView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(15), |
| | | Y = Application.GetRealWidth(6), |
| | | Width = Application.GetRealWidth(128), |
| | | Height = Application.GetRealWidth(128), |
| | | }; |
| | |
| | | |
| | | 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)", |
| | |
| | | var esRunStatus_DischargeValuesView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(132 + 13), |
| | | Y = Application.GetRealWidth(6), |
| | | Width = Application.GetRealWidth(128), |
| | | Height = Application.GetRealWidth(128), |
| | | }; |