| | |
| | | |
| | | public FrameLayout bottomRadiusFrameLayout = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(906), |
| | | Height = Application.GetRealHeight(806), |
| | | Y = Application.GetRealHeight(930), |
| | | BackgroundColor = ZigbeeColor.Current.XMWhite, |
| | | }; |
| | |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMOrange, |
| | | TextSize = 14, |
| | | }; |
| | | |
| | | public Button line = new Button() |
| | | { |
| | | Y = Application.GetRealHeight(138), |
| | | Height = 1, |
| | | BackgroundColor = Shared.Common.ZigbeeColor.Current.XMRowLine, |
| | | }; |
| | | |
| | | #endregion |
| | | |
| | | /// <summary> |
| | |
| | | this.bottomRadiusFrameLayout.AddChidren(btnCancel); |
| | | this.bottomRadiusFrameLayout.AddChidren(btnBottomTitle); |
| | | this.bottomRadiusFrameLayout.AddChidren(btnFinish); |
| | | this.bottomRadiusFrameLayout.AddChidren(line); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="btnDoorLockPic">门锁图片开/关显示</param> |
| | | public void RemoteUnlockRequest(ZigBee.Device.DoorLock doorLock, Action action, Button progressButton = null, Button btnDoorLockPic = null, Button btnStatus = null, Button btnDoorLockTitle = null) |
| | | { |
| | | if (doorLock.RemoteUnlockPassword == "") |
| | | if (string.IsNullOrEmpty(doorLock.RemoteUnlockPassword)) |
| | | { |
| | | string msgRemoteUnlockRequest = Language.StringByID(R.MyInternationalizationString.BindRemoteUnlockDoorlock); |
| | | var alertRemoteUnlockRequest = new Shared.Phone.UserCenter.ShowMsgControl(ShowMsgType.Confirm, msgRemoteUnlockRequest, Language.StringByID(R.MyInternationalizationString.GoSetting)); |