| | |
| | | }; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | if (sceneTargetDevicesList.Count > 2) |
| | | { |
| | | var targetRowLayout = new RowLayout() |
| | | { |
| | | Height = Application.GetRealHeight(300), |
| | | LineColor = ZigbeeColor.Current.GXCBackgroundColor, |
| | | BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor |
| | | }; |
| | | TargetListScrolView.AddChidren(targetRowLayout); |
| | | } |
| | | } |
| | | } |
| | |
| | | EventHandler<MouseEventArgs> targetAddHander = (sender, e) => |
| | | { |
| | | |
| | | if (curRoom == null) |
| | | //if (curRoom == null) |
| | | //{ |
| | | // RoomCommon.ShowTipNoRoom(); |
| | | // return; |
| | | //} |
| | | if(curRoom != null) |
| | | { |
| | | RoomCommon.ShowTipNoRoom(); |
| | | return; |
| | | } |
| | | if (curRoom.IsSharedRoom) |
| | | { |
| | | RoomCommon.ShowTipRoomIsShared(); |
| | | return; |
| | | if (curRoom.IsSharedRoom) |
| | | { |
| | | RoomCommon.ShowTipRoomIsShared(); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | int selectRow_Height = 150; |
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | }; |
| | | #endregion |