| | |
| | | using System; |
| | | using HDL_ON.Entity; |
| | | using Shared; |
| | | |
| | | namespace HDL_ON.UI |
| | |
| | | |
| | | public void LoadPage() |
| | | { |
| | | try |
| | | { |
| | | bodyView = this; |
| | | bodyView.BackgroundColor = CSS.CSS_Color.MainBackgroundColor; |
| | | ContextView = new FrameLayout() |
| | |
| | | navigationView.Y = Application.GetRealHeight(597+5); |
| | | navigationView.Height = Application.GetRealHeight(70-5); |
| | | } |
| | | |
| | | InitBottomView(); |
| | | |
| | | LoadEventList(); |
| | | |
| | | var homePage = new HomePage(); |
| | | ContextView.AddChidren(homePage); |
| | | homePage.LoadPage(); |
| | | |
| | | //刷新功能状态 |
| | | DB_ResidenceData.residenceData.RefreshResidenceFunctionStatus(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MainPage.Log($"UserPage error {ex.Message}"); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |