| | |
| | | /// </summary> |
| | | /// <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; |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | /// 构造函数 |
| | |
| | | { |
| | | Width = Application.GetRealWidth(907), |
| | | Gravity = Gravity.CenterHorizontal, |
| | | Radius = (uint)Application.GetRealHeight(120) / 2, |
| | | Radius = (uint)Application.GetRealHeight(127) / 2, |
| | | TextID = R.MyInternationalizationString.ChooseKeyMode, |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMWhite, |