| | |
| | | /// </summary> |
| | | Button btnRoomManagementTitle; |
| | | |
| | | #region F3阶段 |
| | | /// <summary> |
| | | /// 调试权限开关按钮 |
| | | /// </summary> |
| | | Button btnCommissioningAuthoritySwitchIcon; |
| | | //Button btnCommissioningAuthoritySwitchIcon; |
| | | |
| | | #region 管理员权限迁移 |
| | | FrameLayout administratorPermissionMigrationRow; |
| | | Button btnAdministratorPermissionMigrationTitle; |
| | | Button btnAdministratorPermissionMigrationExplan; |
| | | Button btnAdministratorPermissionMigrationSkinIcon; |
| | | //FrameLayout administratorPermissionMigrationRow; |
| | | //Button btnAdministratorPermissionMigrationTitle; |
| | | //Button btnAdministratorPermissionMigrationExplan; |
| | | //Button btnAdministratorPermissionMigrationSkinIcon; |
| | | #endregion |
| | | |
| | | #region 过户 |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | FrameLayout transferRow; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTransferTitle; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTrasferExplan; |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | Button btnTrasferSkinIcon; |
| | | ///// <summary> |
| | | ///// |
| | | ///// </summary> |
| | | //FrameLayout transferRow; |
| | | ///// <summary> |
| | | ///// |
| | | ///// </summary> |
| | | //Button btnTransferTitle; |
| | | ///// <summary> |
| | | ///// |
| | | ///// </summary> |
| | | //Button btnTrasferExplan; |
| | | ///// <summary> |
| | | ///// |
| | | ///// </summary> |
| | | //Button btnTrasferSkinIcon; |
| | | #endregion |
| | | |
| | | #endregion |
| | | #endregion |
| | | /// <summary> |
| | | /// 更新住宅名称的回调函数 |
| | |
| | | #endregion |
| | | |
| | | |
| | | #region F3阶段 |
| | | #region 管理员权限迁移 |
| | | administratorPermissionMigrationRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(8) + roomManagementRow.Bottom, |
| | | Height = Application.GetRealHeight(65), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(administratorPermissionMigrationRow); |
| | | //administratorPermissionMigrationRow = new FrameLayout() |
| | | //{ |
| | | // Y = Application.GetRealHeight(8) + roomManagementRow.Bottom, |
| | | // Height = Application.GetRealHeight(65), |
| | | // BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | //}; |
| | | //bodyView.AddChidren(administratorPermissionMigrationRow); |
| | | |
| | | btnAdministratorPermissionMigrationTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(24), |
| | | TextID = StringId.AdministratorPermissionMigration, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationTitle); |
| | | //btnAdministratorPermissionMigrationTitle = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = Application.GetRealHeight(10), |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(24), |
| | | // TextID = StringId.AdministratorPermissionMigration, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | //}; |
| | | //administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationTitle); |
| | | |
| | | btnAdministratorPermissionMigrationExplan = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = btnAdministratorPermissionMigrationTitle.Bottom, |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(21), |
| | | TextID = StringId.AdministratorPermissionMigrationExPlan, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | }; |
| | | administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationExplan); |
| | | //btnAdministratorPermissionMigrationExplan = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = btnAdministratorPermissionMigrationTitle.Bottom, |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(21), |
| | | // TextID = StringId.AdministratorPermissionMigrationExPlan, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | // TextColor = CSS_Color.PromptingColor1, |
| | | //}; |
| | | //administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationExplan); |
| | | |
| | | |
| | | btnAdministratorPermissionMigrationSkinIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(343), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "Public/RightIcon.png", |
| | | }; |
| | | administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationSkinIcon); |
| | | //btnAdministratorPermissionMigrationSkinIcon = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(343), |
| | | // Gravity = Gravity.CenterVertical, |
| | | // Width = Application.GetMinRealAverage(16), |
| | | // Height = Application.GetMinRealAverage(16), |
| | | // UnSelectedImagePath = "Public/RightIcon.png", |
| | | //}; |
| | | //administratorPermissionMigrationRow.AddChidren(btnAdministratorPermissionMigrationSkinIcon); |
| | | |
| | | administratorPermissionMigrationRow.AddChidren( |
| | | new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Y = Application.GetRealHeight(64), |
| | | Height = Application.GetRealHeight(1), |
| | | Width = Application.GetRealWidth(343), |
| | | BackgroundColor = CSS_Color.DividingLineColor, |
| | | }); |
| | | //administratorPermissionMigrationRow.AddChidren( |
| | | // new Button() |
| | | // { |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Y = Application.GetRealHeight(64), |
| | | // Height = Application.GetRealHeight(1), |
| | | // Width = Application.GetRealWidth(343), |
| | | // BackgroundColor = CSS_Color.DividingLineColor, |
| | | // }); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region F3阶段 |
| | | #region 过户 |
| | | //transferRow = new FrameLayout() |
| | | //{ |
| | | // Y = administratorPermissionMigrationRow.Bottom, |
| | | // Height = Application.GetRealHeight(65), |
| | | // BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | //}; |
| | | //bodyView.AddChidren(transferRow); |
| | | |
| | | transferRow = new FrameLayout() |
| | | { |
| | | Y = administratorPermissionMigrationRow.Bottom, |
| | | Height = Application.GetRealHeight(65), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(transferRow); |
| | | //btnTransferTitle = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = Application.GetRealHeight(10), |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(24), |
| | | // TextID = StringId.Transfer, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | //}; |
| | | //transferRow.AddChidren(btnTransferTitle); |
| | | |
| | | btnTransferTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(24), |
| | | TextID = StringId.Transfer, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | transferRow.AddChidren(btnTransferTitle); |
| | | //btnTrasferExplan = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = btnTransferTitle.Bottom, |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(21), |
| | | // TextID = StringId.TransferExPlan, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | // TextColor = CSS_Color.PromptingColor1, |
| | | //}; |
| | | //transferRow.AddChidren(btnTrasferExplan); |
| | | |
| | | btnTrasferExplan = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = btnTransferTitle.Bottom, |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(21), |
| | | TextID = StringId.TransferExPlan, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | }; |
| | | transferRow.AddChidren(btnTrasferExplan); |
| | | |
| | | btnTrasferSkinIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(343), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(16), |
| | | Height = Application.GetMinRealAverage(16), |
| | | UnSelectedImagePath = "Public/RightIcon.png", |
| | | }; |
| | | transferRow.AddChidren(btnTrasferSkinIcon); |
| | | //btnTrasferSkinIcon = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(343), |
| | | // Gravity = Gravity.CenterVertical, |
| | | // Width = Application.GetMinRealAverage(16), |
| | | // Height = Application.GetMinRealAverage(16), |
| | | // UnSelectedImagePath = "Public/RightIcon.png", |
| | | //}; |
| | | //transferRow.AddChidren(btnTrasferSkinIcon); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region F3阶段 |
| | | #region 调试权限 |
| | | FrameLayout commissioningAuthorityRow; |
| | | commissioningAuthorityRow = new FrameLayout() |
| | | { |
| | | Y = Application.GetRealHeight(8) + transferRow.Bottom, |
| | | Height = Application.GetRealHeight(65), |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | bodyView.AddChidren(commissioningAuthorityRow); |
| | | //FrameLayout commissioningAuthorityRow; |
| | | //commissioningAuthorityRow = new FrameLayout() |
| | | //{ |
| | | // Y = Application.GetRealHeight(8) + transferRow.Bottom, |
| | | // Height = Application.GetRealHeight(65), |
| | | // BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | //}; |
| | | //bodyView.AddChidren(commissioningAuthorityRow); |
| | | |
| | | |
| | | var btnCommissioningAuthorityTitle = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = Application.GetRealHeight(10), |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(24), |
| | | TextID = StringId.CommissioningAuthority, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.FirstLevelTitleColor, |
| | | }; |
| | | commissioningAuthorityRow.AddChidren(btnCommissioningAuthorityTitle); |
| | | //var btnCommissioningAuthorityTitle = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = Application.GetRealHeight(10), |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(24), |
| | | // TextID = StringId.CommissioningAuthority, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.SubheadingFontSize, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | //}; |
| | | //commissioningAuthorityRow.AddChidren(btnCommissioningAuthorityTitle); |
| | | |
| | | var btnCommissioningAuthorityExplan = new Button() |
| | | { |
| | | X = Application.GetRealWidth(16), |
| | | Y = btnCommissioningAuthorityTitle.Bottom, |
| | | Width = Application.GetRealWidth(308), |
| | | Height = Application.GetRealHeight(21), |
| | | TextID = StringId.CommissioningAuthorityExPlan, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | }; |
| | | commissioningAuthorityRow.AddChidren(btnCommissioningAuthorityExplan); |
| | | //var btnCommissioningAuthorityExplan = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // Y = btnCommissioningAuthorityTitle.Bottom, |
| | | // Width = Application.GetRealWidth(308), |
| | | // Height = Application.GetRealHeight(21), |
| | | // TextID = StringId.CommissioningAuthorityExPlan, |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | // TextColor = CSS_Color.PromptingColor1, |
| | | //}; |
| | | //commissioningAuthorityRow.AddChidren(btnCommissioningAuthorityExplan); |
| | | |
| | | btnCommissioningAuthoritySwitchIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(314), |
| | | Gravity = Gravity.CenterVertical, |
| | | Width = Application.GetMinRealAverage(48), |
| | | Height = Application.GetMinRealAverage(36), |
| | | UnSelectedImagePath = "Public/Switch.png", |
| | | SelectedImagePath = "Public/SwitchOn.png", |
| | | }; |
| | | commissioningAuthorityRow.AddChidren(btnCommissioningAuthoritySwitchIcon); |
| | | |
| | | //btnCommissioningAuthoritySwitchIcon = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(314), |
| | | // Gravity = Gravity.CenterVertical, |
| | | // Width = Application.GetMinRealAverage(48), |
| | | // Height = Application.GetMinRealAverage(36), |
| | | // UnSelectedImagePath = "Public/Switch.png", |
| | | // SelectedImagePath = "Public/SwitchOn.png", |
| | | //}; |
| | | //commissioningAuthorityRow.AddChidren(btnCommissioningAuthoritySwitchIcon); |
| | | #endregion |
| | | #endregion |
| | | |
| | | |