| | |
| | | break; |
| | | case ShowFunction.Music: |
| | | functionCount = FunctionList.List.GetMusicList().Count; |
| | | #if DEBUG |
| | | functionCount = 1; |
| | | #endif |
| | | break; |
| | | case ShowFunction.Panel: |
| | | break; |
| | |
| | | break; |
| | | case ShowFunction.SecurityCenter: |
| | | functionCount = FunctionList.List.securities.Count; |
| | | #if DEBUG |
| | | functionCount = 1; |
| | | #endif |
| | | //if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | //{ |
| | | // functionCount = 1; |
| | | //} |
| | | break; |
| | | |
| | | } |
| | |
| | | btnFunctionViewBg.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | var skipView = new EnvironmentalPage();// EnvironmentalSciencePage(); |
| | | //var skipView = new A_EnvironmentalDataCenter();// EnvironmentalSciencePage(); |
| | | MainPage.BasePageView.AddChidren(skipView); |
| | | skipView.LoadPage(); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |