2021-10-27-01
修复s_one门锁设置周期时,点击保存跳错界面。
old mode 100755
new mode 100644
old mode 100755
new mode 100644
| | |
| | | this.action = action; |
| | | } |
| | | |
| | | public void Show() |
| | | public void Show(string if_logic,bool _bool) |
| | | { |
| | | Tag = "Logic"; |
| | | |
| | |
| | | var weekPage = new WeekPage(); |
| | | UserView.HomePage.Instance.AddChidren(weekPage); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | weekPage.Show(weekView.funnameBtn.Text); |
| | | weekPage.Show(weekView.funnameBtn.Text, if_logic,_bool); |
| | | |
| | | }; |
| | | monView.clickviewBtn.MouseUpEventHandler += (sender, e) => |
| | |
| | | var everymonthPage = new EverymonthPage(); |
| | | UserView.HomePage.Instance.AddChidren(everymonthPage); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | everymonthPage.Show(monView.funnameBtn.Text); |
| | | everymonthPage.Show(monView.funnameBtn.Text, if_logic,_bool); |
| | | |
| | | }; |
| | | if (Common.Logic.CurrentLogic.TimeAttribute.Repeat == 0) |
old mode 100755
new mode 100644
| | |
| | | { |
| | | Tag = "Logic"; |
| | | } |
| | | public void Show(string titlename) |
| | | public void Show(string titlename,string if_logic,bool _bool) |
| | | { |
| | | |
| | | |
| | |
| | | Common.Logic.CurrentLogic.TimeAttribute.Repeat = 3; |
| | | Common.Logic.CurrentLogic.TimeAttribute.MonthDate = intvalue; |
| | | |
| | | var logicCommunalPage = new LogicCommunalPage(); |
| | | |
| | | 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(() => { }); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | }; |
| | | |
old mode 100755
new mode 100644
| | |
| | | var cycle = new Cycle(() => { Method.UpdateWeek(weekBtn, Common.Logic.CurrentLogic); }); |
| | | UserView.HomePage.Instance.AddChidren(cycle); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | cycle.Show(); |
| | | cycle.Show(LogicView.IfString._Logic,false); |
| | | |
| | | }; |
| | | weekBtn.MouseUpEventHandler += cycleclick; |
old mode 100755
new mode 100644
| | |
| | | var cycle = new Cycle(() => { Method.UpdateWeek(weekBtn, Common.Logic.CurrentLogic); }); |
| | | UserView.HomePage.Instance.AddChidren(cycle); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | cycle.Show(); |
| | | cycle.Show(LogicView.IfString._LockLogic, Yes); |
| | | }; |
| | | weekBtn.MouseUpEventHandler += cycleclick; |
| | | weekview.clickBtn.MouseUpEventHandler += cycleclick; |
old mode 100755
new mode 100644
| | |
| | | var cycle = new Cycle(() => { Method.UpdateWeek(weekBtn, Common.Logic.CurrentLogic); }); |
| | | UserView.HomePage.Instance.AddChidren(cycle); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | cycle.Show(); |
| | | cycle.Show(LogicView.IfString._Logic,false); |
| | | |
| | | //var cyclicCycle = new CyclicCycle(() => { UpdateWeek(btnweektext); }); |
| | | //UserView.HomePage.Instance.AddChidren(cyclicCycle); |
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; |
| | | |
| | | |
| | | 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(() => { }); |
| | | } |
| | | }; |
| | | |
| | | |