]> git.basschouten.com Git - openhab-addons.git/blob
7dbb32b56a1cef95e5192ac4269558a642754992
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.bluetooth.daikinmadoka.internal.model;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17 import org.openhab.binding.bluetooth.daikinmadoka.internal.model.MadokaProperties.FanSpeed;
18 import org.openhab.binding.bluetooth.daikinmadoka.internal.model.MadokaProperties.OperationMode;
19 import org.openhab.core.library.types.DecimalType;
20 import org.openhab.core.library.types.OnOffType;
21
22 /**
23  * This class contains the current state of the controllerw
24  *
25  * @author Benjamin Lafois - Initial contribution
26  *
27  */
28 @NonNullByDefault
29 public class MadokaSettings {
30
31     private @Nullable OnOffType onOffState;
32
33     private @Nullable DecimalType setpoint;
34
35     private @Nullable DecimalType indoorTemperature;
36     private @Nullable DecimalType outdoorTemperature;
37
38     private @Nullable FanSpeed fanspeed;
39
40     private @Nullable OperationMode operationMode;
41
42     private @Nullable String homekitCurrentMode;
43     private @Nullable String homekitTargetMode;
44
45     private @Nullable String communicationControllerVersion;
46     private @Nullable String remoteControllerVersion;
47
48     public @Nullable OnOffType getOnOffState() {
49         return onOffState;
50     }
51
52     public void setOnOffState(OnOffType onOffState) {
53         this.onOffState = onOffState;
54     }
55
56     public @Nullable DecimalType getSetpoint() {
57         return setpoint;
58     }
59
60     public void setSetpoint(DecimalType setpoint) {
61         this.setpoint = setpoint;
62     }
63
64     public @Nullable DecimalType getIndoorTemperature() {
65         return indoorTemperature;
66     }
67
68     public void setIndoorTemperature(DecimalType indoorTemperature) {
69         this.indoorTemperature = indoorTemperature;
70     }
71
72     public @Nullable DecimalType getOutdoorTemperature() {
73         return outdoorTemperature;
74     }
75
76     public void setOutdoorTemperature(DecimalType outdoorTemperature) {
77         this.outdoorTemperature = outdoorTemperature;
78     }
79
80     public @Nullable FanSpeed getFanspeed() {
81         return fanspeed;
82     }
83
84     public void setFanspeed(FanSpeed fanspeed) {
85         this.fanspeed = fanspeed;
86     }
87
88     public @Nullable OperationMode getOperationMode() {
89         return operationMode;
90     }
91
92     public void setOperationMode(OperationMode operationMode) {
93         this.operationMode = operationMode;
94     }
95
96     public @Nullable String getHomekitCurrentMode() {
97         return homekitCurrentMode;
98     }
99
100     public void setHomekitCurrentMode(String homekitCurrentMode) {
101         this.homekitCurrentMode = homekitCurrentMode;
102     }
103
104     public @Nullable String getHomekitTargetMode() {
105         return homekitTargetMode;
106     }
107
108     public void setHomekitTargetMode(String homekitTargetMode) {
109         this.homekitTargetMode = homekitTargetMode;
110     }
111
112     public @Nullable String getCommunicationControllerVersion() {
113         return communicationControllerVersion;
114     }
115
116     public void setCommunicationControllerVersion(String communicationControllerVersion) {
117         this.communicationControllerVersion = communicationControllerVersion;
118     }
119
120     public @Nullable String getRemoteControllerVersion() {
121         return remoteControllerVersion;
122     }
123
124     public void setRemoteControllerVersion(String remoteControllerVersion) {
125         this.remoteControllerVersion = remoteControllerVersion;
126     }
127 }