| | |
| | | |
| | | public void LoadPage(int titleId) |
| | | { |
| | | |
| | | bodyView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | if (titleId == StringId.Lights) |
| | | { |
| | |
| | | { |
| | | new TopViewDiv(bodyView, Language.StringByID(titleId)).LoadTopView(); |
| | | } |
| | | |
| | | |
| | | |
| | | #if DEBUG |
| | | |
| | | #endif |
| | | |
| | | /// <summary> |
| | | /// 房间内容显示区域 |
| | | /// </summary> |
| | |
| | | }; |
| | | bodyView.AddChidren(functionListView); |
| | | |
| | | //Tag 显示列表 |
| | | if (titleId == StringId.Lights) |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetLightList()); |
| | |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetAirFreshList()); |
| | | } |
| | | else if (titleId == StringId.SmartPanel) |
| | | { |
| | | functionList.AddRange(FunctionList.List.GetPanelList()); |
| | | } |
| | | functionList.OrderByDescending(o => o.controlCounter).ToList(); |
| | | |
| | | ShowFunctionRow(functionList); |