| | |
| | | flMain.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | flMain.RemoveFromParent(); |
| | | |
| | | |
| | | }; |
| | | |
| | | var devicefra1 = new FrameLayout |
| | |
| | | dictionary(deviceConditionsInfo, "AttriButeData1", "0"); |
| | | if (iASZonedevice.IasDeviceType == 13) |
| | | { |
| | | SelectedDeviceStatuscondition = "no"; |
| | | SelectedDeviceStatuscondition = ""; |
| | | btnopen.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor; |
| | | btnclose.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor; |
| | | openBtnSelected.Visible = false; |
| | |
| | | timeoutrowlayout.AddChidren(timeoutBtnSelected); |
| | | EventHandler<MouseEventArgs> timeoutclick = (sender, e) => |
| | | { |
| | | SelectedDeviceStatuscondition = "no"; |
| | | SelectedDeviceStatuscondition = ""; |
| | | btnopen.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor; |
| | | btnclose.TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor; |
| | | openBtnSelected.Visible = false; |
| | |
| | | #endregion |
| | | } |
| | | break; |
| | | |
| | | case 40: |
| | | { |
| | | devicefra.Y = Application.GetRealHeight(1920 - 140 - 160 - 20 - 50); |
| | |
| | | openrowlayout.LineColor = ZigbeeColor.Current.LogicBackgroundColor; |
| | | } |
| | | break; |
| | | |
| | | case 277: |
| | | { |
| | | devicefra.Y = Application.GetRealHeight(1920 - 140 - 160 - 20 - 50); |