| | |
| | | /// <param name="devicelist">设备列表</param> |
| | | void ConditionDeviceView(List<DeviceType> deviceTypelist, List<CommonDevice> devicelist) |
| | | { |
| | | |
| | | middle.RemoveAll(); |
| | | foreach (var common in devicelist) |
| | | { |
| | |
| | | devicename.IsSelected = true; |
| | | var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; |
| | | this.AddChidren(flMain); |
| | | CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType); |
| | | CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType,0); |
| | | }; |
| | | deviceFramelayout.MouseUpEventHandler += devicclick; |
| | | bjFramelayout.MouseUpEventHandler += devicclick; |