| | |
| | | var ignoreTime = new IgnoreTime(); |
| | | UserView.HomePage.Instance.AddChidren(ignoreTime); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | ignoreTime.Show(common, closeView.titleBtn.Text, edit, timevalue); |
| | | ignoreTime.Show(common, closeView.titleBtn.Text, edit, timevalue, _if[1]); |
| | | } |
| | | |
| | | |
| | |
| | | var ignoreTime = new IgnoreTime(); |
| | | UserView.HomePage.Instance.AddChidren(ignoreTime); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | ignoreTime.Show(common, timeoutView.titleBtn.Text, edit, timevalue); |
| | | ignoreTime.Show(common, timeoutView.titleBtn.Text, edit, timevalue, _if[1]); |
| | | |
| | | }; |
| | | |
| | |
| | | { |
| | | if (devices["AttriButeId"] == "1281") |
| | | { |
| | | if (devices.ContainsKey("IgnoreTime")) |
| | | { |
| | | timevalue = int.Parse(devices["IgnoreTime"]); |
| | | } |
| | | else |
| | | { |
| | | if (devices["AttriButeData1"] == "1") |
| | | { |
| | | openView.titleBtn.TextColor = ZigbeeColor.Current.LogicBtnSelectedColor; |
| | |
| | | } |
| | | else |
| | | { |
| | | if (devices.ContainsKey("IgnoreTime")) |
| | | { |
| | | timevalue = int.Parse(devices["IgnoreTime"]); |
| | | } |
| | | else |
| | | { |
| | | openView.titleBtn.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor; |
| | | closeView.titleBtn.TextColor = ZigbeeColor.Current.LogicBtnSelectedColor; |
| | | openView.selectedIconBtn.Visible = false; |
| | | closeView.titleBtn.Visible = true; |
| | | closeView.selectedIconBtn.Visible = true; |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |