| | |
| | | |
| | | btnFinifh = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(907),
|
| | | Height = Application.GetRealHeight(127),
|
| | | Width = Application.GetRealWidth(907), |
| | | Height = Application.GetRealHeight(127), |
| | | Y = Application.GetRealHeight(49 + 35), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Radius = (uint)Application.GetRealHeight(127) / 2, |
| | |
| | | { |
| | | line2.Visible = false; |
| | | } |
| | | if (Common.LocalDevice.Current.CheckDeviceIsOnline(device) == true)
|
| | | {
|
| | | btnBindName.TextColor = Shared.Common.ZigbeeColor.Current.TextBlack;
|
| | | }
|
| | | else
|
| | | {
|
| | | btnBindName.TextColor = Shared.Common.ZigbeeColor.Current.XMGray3;
|
| | | if (Common.LocalDevice.Current.CheckDeviceIsOnline(device) == true) |
| | | { |
| | | btnBindName.TextColor = Shared.Common.ZigbeeColor.Current.TextBlack; |
| | | } |
| | | else |
| | | { |
| | | btnBindName.TextColor = Shared.Common.ZigbeeColor.Current.XMGray3; |
| | | } |
| | | switch (curBindType) |
| | | { |
| | |
| | | curD.BindScenesId = dev.BindScenesId; |
| | | curD.BindMacAddr = dev.BindMacAddr; |
| | | curD.BindEpoint = dev.BindEpoint; |
| | | curD.ESName = dev.ESName; |
| | | curD.BindType = dev.BindType; |
| | | bList.Add(curD); |
| | | |