| | |
| | | BackgroundColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | }; |
| | | middle.AddChidren(timeframelayout); |
| | | |
| | | |
| | | |
| | | var timeiconBtn = new Button |
| | | { |
| | |
| | | |
| | | EventHandler<MouseEventArgs> devicestateclick = (sender, e) => |
| | | { |
| | | Common.Logic.LogicDviceList.Clear(); |
| | | if (Common.Logic.LogicDviceList.Count == 0) |
| | | { |
| | | Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray()); |
| | | } |
| | | var deviceStateCondition = new DeviceStateCondition(); |
| | | UserView.HomePage.Instance.AddChidren(deviceStateCondition); |
| | | UserView.HomePage.Instance.PageIndex += 1; |