old mode 100755
new mode 100644
| | |
| | | Tag = "Logic"; |
| | | } |
| | | |
| | | public void Show (string titlename) |
| | | public void Show (string titlename,string if_logic,bool _bool) |
| | | { |
| | | |
| | | #region 界面的布局代码 |
| | |
| | | Common.Logic.CurrentLogic.TimeAttribute.Repeat = 5; |
| | | Common.Logic.CurrentLogic.TimeAttribute.WeekDay = weekvalue; |
| | | |
| | | var logicCommunalPage = new LogicCommunalPage { }; |
| | | UserView.HomePage.Instance.AddChidren(logicCommunalPage); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | logicCommunalPage.Show(() => { }); |
| | | |
| | | if (LogicView.IfString._LockLogic == if_logic) |
| | | { |
| | | //跳到s_one门锁编辑界面 |
| | | var oneLogic = new OneLogic(); |
| | | UserView.HomePage.Instance.AddChidren(oneLogic); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | oneLogic.Show(_bool); |
| | | } |
| | | else |
| | | { |
| | | |
| | | var logicCommunalPage = new LogicCommunalPage { }; |
| | | UserView.HomePage.Instance.AddChidren(logicCommunalPage); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | logicCommunalPage.Show(() => { }); |
| | | } |
| | | }; |
| | | |
| | | |