old mode 100755
new mode 100644
| | |
| | | /// </summary> |
| | | public void ClickHandle() |
| | | { |
| | | |
| | | //门锁标题 |
| | | btnDoorLockTitle.Text = Common.LocalDevice.Current.GetDeviceMacName(doorLock); |
| | | |
| | |
| | | /// </summary> |
| | | private async void NomallyOpenDialog() |
| | | { |
| | | #region 后续版本 |
| | | //if (UserCenterResourse.UserInfo.AuthorityNo != 1) |
| | | //{ |
| | | // this.ShowMassage(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.OnlyMasterOperate)); |
| | | // return; |
| | | //} |
| | | if (UserCenterResourse.UserInfo.AuthorityNo != 1) |
| | | { |
| | | this.ShowMassage(ShowMsgType.Tip, Language.StringByID(R.MyInternationalizationString.OnlyMasterOperate)); |
| | | return; |
| | | } |
| | | |
| | | //if (!UserCenterResourse.AccountOption.DoorUnLockByRemote) |
| | | //{ |
| | | // SystemSecondAuthentication(); |
| | | // return; |
| | | //} |
| | | if (!UserCenterResourse.AccountOption.DoorUnLockByRemote) |
| | | { |
| | | SystemSecondAuthentication(); |
| | | return; |
| | | } |
| | | |
| | | action = () => |
| | | { |
| | |
| | | UserView.HomePage.Instance.AddChidren(addLogicPage);
|
| | | UserView.HomePage.Instance.PageIndex += 1;
|
| | | addLogicPage.Show();
|
| | | |
| | | addLogicPage.action += (w) =>
|
| | | {
|
| | | doorLock.IsDoorLockNormallyMode = w;
|
| | |
| | | UpdateNomallyOpenStatus();
|
| | | };
|
| | | };
|
| | | //HdlCheckLogic.Current.CheckSecondarySecurity(action);
|
| | | #endregion |
| | | HdlCheckLogic.Current.CheckSecondarySecurity(action);
|
| | |
|
| | |
|
| | | } |