]> git.basschouten.com Git - openhab-addons.git/blob
638df4f00d5ed085e2a77d50dfee070b654f7c76
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.plugwiseha.internal.api.model.dto;
14
15 import com.thoughtworks.xstream.annotations.XStreamAlias;
16
17 /**
18  * @author B. van Wetten - Initial contribution
19  * @author Leo Siepel - finish initial contribution
20  */
21 @XStreamAlias("thermostat_functionality")
22 public class ActuatorFunctionalityThermostat extends ActuatorFunctionality {
23
24     @SuppressWarnings("unused")
25     private Double setpoint;
26
27     @SuppressWarnings("unused")
28     @XStreamAlias("preheating_allowed")
29     private Boolean preheatingAllowed;
30
31     public ActuatorFunctionalityThermostat(Double temperature) {
32         this.setpoint = temperature;
33     }
34
35     public ActuatorFunctionalityThermostat(Boolean preheatingAllowed) {
36         this.preheatingAllowed = preheatingAllowed;
37     }
38 }