| | |
| | | var typeFunctionList = LogicMethod.Current.GetDeviceTypeFunctionList(UserInfo.Current.logicselectedFunction); |
| | | ///获取设备单个小类列表(例如:灯光1,灯光2...) |
| | | var lists = LogicMethod.Current.GetShowDeviceList(typeFunctionList, deviceList); |
| | | if (string.IsNullOrEmpty(UserInfo.Current.logicselectedRoom.roomName)) |
| | | { |
| | | UserInfo.Current.logicselectedRoom.roomName = Language.StringByID(StringId.allAreas); |
| | | } |
| | | ///房间名称 |
| | | funAllAreaView.btnText1.Text = UserInfo.Current.logicselectedRoom.roomName; |
| | | if (string.IsNullOrEmpty(UserInfo.Current.logicselectedFunction)) |
| | | { |
| | | UserInfo.Current.logicselectedFunction = Language.StringByID(StringId.allFun); |
| | | } |
| | | ///设备大类名称<灯光类。。。。。> |
| | | funAllAreaView.btnText2.Text = UserInfo.Current.logicselectedFunction; |
| | | this.LoadingDeviceListView(vv, lists); |
| | | |
| | | |
| | | } |
| | | /// <summary> |
| | | /// 显示设备的View |
| | |
| | | break; |
| | | case "pm10": |
| | | { |
| | | ConditionDeviceFunList.Current.PmCo2TvocAction(thisView, device, "pm10", StringId.pm25, indexVulae, true, stateValue); |
| | | ConditionDeviceFunList.Current.PmCo2TvocAction(thisView, device, "pm10", StringId.pm10, indexVulae, true, stateValue); |
| | | } |
| | | break; |
| | | case "pm25": |