| | |
| | | { |
| | | public LockAddDevice() |
| | | { |
| | | Tag = "Logic"; |
| | | Tag = "LockLogic"; |
| | | } |
| | | Button roombjButton = new Button(); |
| | | Button roomTextButton = new Button(); |
| | |
| | | UserView.HomePage.Instance.ScrollEnabled = false; |
| | | Dictionary<string, object> actionsInfo = new Dictionary<string, object>(); |
| | | List<Dictionary<string, string>> taskListInfo = new List<Dictionary<string, string>>(); |
| | | //var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; |
| | | //this.AddChidren(flMain); |
| | | flMain.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | flMain.RemoveFromParent(); |
| | |
| | | |
| | | } |
| | | flMain.RemoveFromParent(); |
| | | var logicCommunalPage = new LogicCommunalPage(); |
| | | UserView.HomePage.Instance.AddChidren(logicCommunalPage); |
| | | var lockLogicCommunalPage = new LockLogicCommunalPage(); |
| | | UserView.HomePage.Instance.AddChidren(lockLogicCommunalPage); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | logicCommunalPage.Show(() => { }); |
| | | lockLogicCommunalPage.Show(() => { }); |
| | | |
| | | }; |
| | | |