| | |
| | | bodyView = this; |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | } |
| | | |
| | | public void LoadView() |
| | | { |
| | | //try |
| | | //{ |
| | | // if (MainPage.CurPageIndex == 3) |
| | | // { |
| | | // Application.RunOnMainThread(() => |
| | | // { |
| | | // this.RemoveFromParent(); |
| | | // return; |
| | | // }); |
| | | // } |
| | | //} |
| | | //catch (Exception ex) |
| | | //{ |
| | | // MainPage.Log($"界面切换异常:{ex.Message}"); |
| | | //} |
| | | MainPage.CurPageIndex = 3; |
| | | #region 个人信息 |
| | | topbg = new FrameLayout() |
| | | { |
| | |
| | | #region 住宅信息区域 |
| | | if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare |
| | | && DB_ResidenceData.Instance.GatewayType == 1 |
| | | && DB_ResidenceData.Instance.CurrentRegion.isSupportGroupControl) |
| | | && DB_ResidenceData.Instance.HomeGateway.isSupportGroupControl) |
| | | { |
| | | residenceInfoView = new FrameLayout() |
| | | { |
| | |
| | | residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText); |
| | | #endregion |
| | | |
| | | if (DB_ResidenceData.Instance.CurrentRegion.isSupportGroupControl) |
| | | if (DB_ResidenceData.Instance.HomeGateway.isSupportGroupControl) |
| | | { |
| | | residenceFunctionCount++; |
| | | #region ---组合调光 |
| | |
| | | { |
| | | Y = btnResidenceManageIcon.Bottom, |
| | | Height = Application.GetRealHeight(29), |
| | | TextID = StringId.CombinedDimming, |
| | | TextID = StringId.GroupControl, |
| | | TextAlignment = TextAlignment.Center, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | IsMoreLines = true, |
| | | }; |
| | | faceManagementView.AddChidren(btnFaceManagementText); |
| | | |