| | |
| | | case ShowFunction.Music: |
| | | functionCount = Music.A31MusicModel.A31MusicModelList.Count; |
| | | functionOnCount = Music.A31MusicModel.A31MusicModelList.FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | if(functionCount == 0) |
| | | { |
| | | functionCount = FunctionList.List.GetMusicList().Count; |
| | | } |
| | | break; |
| | | case ShowFunction.Panel: |
| | | break; |
| | |
| | | break; |
| | | case ShowFunction.SecurityCenter: |
| | | functionCount = FunctionList.List.securities.Count; |
| | | #if DEBUG |
| | | functionCount = 1; |
| | | #endif |
| | | break; |
| | | |
| | | } |
| | |
| | | videoMethod.MianView(this,FunctionList.List.videoIntercom); |
| | | }; |
| | | break; |
| | | case ShowFunction.SecurityCenter: |
| | | btnName.TextID = StringId.SecurityCenter; |
| | | btnFunctionViewBg.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | var page = new ArmCenterPage(); |
| | | MainPage.BasePageView.AddChidren(page); |
| | | page.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | break; |
| | | |
| | | } |
| | | //界面跳转--音乐跳转自己的界面--环境跳转自己的界面 |
| | |
| | | #endregion |
| | | } |
| | | |
| | | #region 切换楼层 |
| | | #region 切换楼层 |
| | | /// <summary> |
| | | /// 楼层显示切换 |
| | | /// </summary> |
| | |
| | | { |
| | | |
| | | } |
| | | #endregion |
| | | #endregion |
| | | } |
| | | } |