]> git.basschouten.com Git - openhab-addons.git/blob
fb0d4927181ef25c66ca6b8a25529f114212feb3
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ventaair.internal.message.action;
14
15 /**
16  * Actions send by the device, containing information about the current device settings
17  *
18  * @author Stefan Triller - Initial contribution
19  *
20  */
21 public class AllActions implements Action {
22     private boolean Power = true;
23     private int FanSpeed;
24     private int TargetHum = 65;
25     private int Timer;
26     private boolean Boost;
27     private boolean SleepMode;
28     private boolean ChildLock;
29     private boolean Automatic;
30     private int SysLanguage; // 3?
31     private int CleanLanguage; // 0?
32     private int TempUnit; // 0=Celsius, 1=Fahrenheit?
33     private int DisplayLeft;
34     private int DisplayRight;
35     private int Reset;
36     private int ConINet;
37     private boolean DelUser; // default false
38
39     public boolean isPower() {
40         return Power;
41     }
42
43     public int getFanSpeed() {
44         return FanSpeed;
45     }
46
47     public int getTargetHum() {
48         return TargetHum;
49     }
50
51     public int getTimer() {
52         return Timer;
53     }
54
55     public boolean isBoost() {
56         return Boost;
57     }
58
59     public boolean isSleepMode() {
60         return SleepMode;
61     }
62
63     public boolean isChildLock() {
64         return ChildLock;
65     }
66
67     public boolean isAutomatic() {
68         return Automatic;
69     }
70
71     public int getSysLanguage() {
72         return SysLanguage;
73     }
74
75     public int getCleanLanguage() {
76         return CleanLanguage;
77     }
78
79     public int getTempUnit() {
80         return TempUnit;
81     }
82
83     public int getDisplayLeft() {
84         return DisplayLeft;
85     }
86
87     public int getDisplayRight() {
88         return DisplayRight;
89     }
90
91     public int getReset() {
92         return Reset;
93     }
94
95     public int getConINet() {
96         return ConINet;
97     }
98
99     public boolean isDelUser() {
100         return DelUser;
101     }
102 }