| | |
| | | |
| | | Button btnRighta = new Button() |
| | | { |
| | | X = Application.GetRealWidth(221), |
| | | X = Application.GetRealWidth(201), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(116), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | |
| | | |
| | | Button btnRightb = new Button() |
| | | { |
| | | X = Application.GetRealWidth(221), |
| | | X = Application.GetRealWidth(201), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(116), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | |
| | | |
| | | Button btnRightc = new Button() |
| | | { |
| | | X = Application.GetRealWidth(221), |
| | | X = Application.GetRealWidth(201), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(116), |
| | | TextAlignment = TextAlignment.CenterRight, |
| | |
| | | }; |
| | | historyDataView.AddChidren(myEchartsView_Line); |
| | | |
| | | //EnergyRow(energy, energyListView, index); |
| | | var btnTip = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(289), |
| | | Height = Application.GetRealHeight(41), |
| | | Width = Application.GetRealWidth(300), |
| | | TextAlignment = TextAlignment.Center, |
| | | Gravity = Gravity.CenterHorizontal, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextID = StringId.AirSwitchP3HistroyTip1, |
| | | }; |
| | | historyDataView.AddChidren(btnTip); |
| | | |
| | | LoadMothed_GetHistoryData(); |
| | | |