| | |
| | | /// <param name="common">Common.</param> |
| | | public void Changed(CommonDevice common) |
| | | { |
| | | //if (common.Type != ZigBee.Device.DeviceType.OnOffSwitch) |
| | | //{ |
| | | // return; |
| | | //} |
| | | |
| | | Shared.Application.RunOnMainThread(() => |
| | | { |
| | | //var dev = common as Panel; |
| | | }); |
| | | } |
| | | |
| | |
| | | { |
| | | TextColor = Shared.Common.ZigbeeColor.Current.GXCTextWhiteColor, |
| | | X = btnBindName.Right, |
| | | TextID = R.MyInternationalizationString.Delete, |
| | | TextID = R.MyInternationalizationString.DelBindDevice, |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.DelRowLayout, |
| | | }; |
| | | rowLayout.AddRightView(btnDel); |
| | |
| | | var btnDel = new Button() |
| | | { |
| | | TextColor = Shared.Common.ZigbeeColor.Current.GXCTextWhiteColor, |
| | | TextID = R.MyInternationalizationString.Delete, |
| | | TextID = R.MyInternationalizationString.DelBindDevice, |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.DelRowLayout, |
| | | }; |
| | | modeRowLayout.AddRightView(btnDel); |