2 * Copyright (c) 2010-2020 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.venstarthermostat.internal.model;
16 * The {@link VenstarInfoData} represents a thermostat state from the REST API.
18 * @author William Welliver - Initial contribution
20 public class VenstarInfoData {
24 VenstarSystemState state;
25 VenstarSystemMode mode;
28 public VenstarInfoData() {
32 public VenstarInfoData(double cooltemp, double heattemp, VenstarSystemState state, VenstarSystemMode mode) {
34 this.cooltemp = cooltemp;
35 this.heattemp = heattemp;
40 public double getCooltemp() {
44 public void setCooltemp(double cooltemp) {
45 this.cooltemp = cooltemp;
48 public double getHeattemp() {
52 public void setHeattemp(double heattemp) {
53 this.heattemp = heattemp;
56 public VenstarSystemState getState() {
60 public void setState(VenstarSystemState state) {
64 public VenstarSystemMode getMode() {
68 public void setMode(VenstarSystemMode mode) {
72 public int getTempunits() {
76 public void setTempunits(int tempunits) {
77 this.tempunits = tempunits;