| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using Shared.Common; |
| | | using Shared.Phone.Device.Light; |
| | | using Shared.Phone.UserCenter.Device; |
| | | using ZigBee.Device; |
| | | using static ZigBee.Device.BindObj; |
| | |
| | | |
| | | var btnChoose = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(60), |
| | | Height = Application.GetRealHeight(60), |
| | | Width = Application.GetMinReal(60), |
| | | Height = Application.GetMinReal(60), |
| | | X = Application.GetRealWidth(861 + 81), |
| | | Y = Application.GetRealHeight(35), |
| | | SelectedImagePath = "DoorLock/SelectedIcon.png", |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMWhite, |
| | | Visible = false, |
| | | Tag = device.DeviceEpointName, |
| | | Gravity = Gravity.CenterVertical, |
| | | }; |
| | | |
| | | rowLayout.AddChidren(btnChoose); |
| | | |
| | | var line2 = new Button() |