2 * Copyright (c) 2010-2021 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.bluetooth.daikinmadoka.internal.model;
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;
23 * This class contains the current state of the controllerw
25 * @author Benjamin Lafois - Initial contribution
29 public class MadokaSettings {
31 private @Nullable OnOffType onOffState;
33 private @Nullable DecimalType setpoint;
35 private @Nullable DecimalType indoorTemperature;
36 private @Nullable DecimalType outdoorTemperature;
38 private @Nullable FanSpeed fanspeed;
40 private @Nullable OperationMode operationMode;
42 private @Nullable String homekitCurrentMode;
43 private @Nullable String homekitTargetMode;
45 private @Nullable String communicationControllerVersion;
46 private @Nullable String remoteControllerVersion;
48 public @Nullable OnOffType getOnOffState() {
52 public void setOnOffState(OnOffType onOffState) {
53 this.onOffState = onOffState;
56 public @Nullable DecimalType getSetpoint() {
60 public void setSetpoint(DecimalType setpoint) {
61 this.setpoint = setpoint;
64 public @Nullable DecimalType getIndoorTemperature() {
65 return indoorTemperature;
68 public void setIndoorTemperature(DecimalType indoorTemperature) {
69 this.indoorTemperature = indoorTemperature;
72 public @Nullable DecimalType getOutdoorTemperature() {
73 return outdoorTemperature;
76 public void setOutdoorTemperature(DecimalType outdoorTemperature) {
77 this.outdoorTemperature = outdoorTemperature;
80 public @Nullable FanSpeed getFanspeed() {
84 public void setFanspeed(FanSpeed fanspeed) {
85 this.fanspeed = fanspeed;
88 public @Nullable OperationMode getOperationMode() {
92 public void setOperationMode(OperationMode operationMode) {
93 this.operationMode = operationMode;
96 public @Nullable String getHomekitCurrentMode() {
97 return homekitCurrentMode;
100 public void setHomekitCurrentMode(String homekitCurrentMode) {
101 this.homekitCurrentMode = homekitCurrentMode;
104 public @Nullable String getHomekitTargetMode() {
105 return homekitTargetMode;
108 public void setHomekitTargetMode(String homekitTargetMode) {
109 this.homekitTargetMode = homekitTargetMode;
112 public @Nullable String getCommunicationControllerVersion() {
113 return communicationControllerVersion;
116 public void setCommunicationControllerVersion(String communicationControllerVersion) {
117 this.communicationControllerVersion = communicationControllerVersion;
120 public @Nullable String getRemoteControllerVersion() {
121 return remoteControllerVersion;
124 public void setRemoteControllerVersion(String remoteControllerVersion) {
125 this.remoteControllerVersion = remoteControllerVersion;