old mode 100755
new mode 100644
| | |
| | | catch { } |
| | | }; |
| | | |
| | | UserCenter.DoorLock.DoorLockCommonInfo.UpdateCurrentDoorlockAction += (DoorlockKey, _bool) => |
| | | { |
| | | var key = Send.CurrentDoorLock.DeviceAddr + Send.CurrentDoorLock.DeviceEpoint; |
| | | if (DoorlockKey == key) |
| | | { |
| | | try |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | Send.CurrentDoorLock.IsDoorLockNormallyMode = _bool; |
| | | ModeView(); |
| | | }); |
| | | } |
| | | catch { } |
| | | } |
| | | }; |
| | | } |
| | | /// <summary> |
| | | /// 常开模式开关切换图标界面 |
| | |
| | | listLogicFl.Width = Application.GetRealWidth(1022); |
| | | listLogicFl.BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor; |
| | | |
| | | verticalRefresh.Y = Application.GetRealHeight(187); |
| | | verticalRefresh.Y = Application.GetRealHeight(187); |
| | | verticalRefresh.X = Application.GetRealWidth(46); |
| | | verticalRefresh.Height = listLogicFl.Height - Application.GetRealHeight(187);//动态改动上下滑动view高度; |
| | | verticalRefresh.Width = listLogicFl.Width - Application.GetRealWidth(46); |