| | |
| | | roomTextButton = roomClickView.roomnameBtn; |
| | | roomClickView.roomnameBtn.IsSelected = true; |
| | | |
| | | var list = Method.GetDeviceUIList(room, deviceTypeList); |
| | | var list = Method.GetDeviceUIList(room, deviceTypeList, IfType); |
| | | AllDeviceTypeView(list); |
| | | } |
| | | |
| | |
| | | roomTextButton = roomClickView.roomnameBtn; |
| | | roomClickView.roomnameBtn.IsSelected = true; |
| | | |
| | | var list = Method.GetDeviceUIList(room, deviceTypeList); |
| | | var list = Method.GetDeviceUIList(room, deviceTypeList, IfType); |
| | | AllDeviceTypeView(list); |
| | | }; |
| | | roomClickView.roomnameBtn.MouseUpEventHandler += roomclick; |
| | |
| | | if (deviceTypelist.Count != 0 && !deviceTypelist.Contains(common.Type)) |
| | | { |
| | | continue; |
| | | } |
| | | if (IfType == "condition_mould") |
| | | { |
| | | if (common.IasDeviceType != 13) |
| | | {//自动化模板只支持红外传感器 |
| | | continue; |
| | | } |
| | | } |
| | | var deviceFramelayout = new FrameLayout |
| | | { |