| | |
| | | using static ZigBee.Device.Panel; |
| | | namespace Shared.Phone.UserCenter.DeviceBind |
| | | { |
| | | /// <summary> |
| | | /// 普通面板的绑定设备界面【可绑定多个设备】 |
| | | /// </summary> |
| | | public class AddDevicePage : BindCommonLayout |
| | | { |
| | | /// 构造函数 |
| | |
| | | var btnRoom = new Button |
| | | { |
| | | Height = Application.GetRealHeight(58), |
| | | Width = Application.GetRealWidth(127), |
| | | Width = Application.GetRealWidth(255), |
| | | Y = Application.GetRealHeight(58), |
| | | X = Application.GetRealWidth(14), |
| | | Text = room.Name, |
| | |
| | | curentOldRoom = btnRoom; |
| | | curentOldRoomFrameLayout = btnRoomFrameLayout; |
| | | } |
| | | if (index == roomTempList.Count - 1 && index > 3) |
| | | if (index == roomTempList.Count - 1 && index > 2) |
| | | { |
| | | var btnRoomFrameLayoutEmpty = new FrameLayout |
| | | { |