]> git.basschouten.com Git - openhab-addons.git/blob
ed2ba9305ecc32cf6788bcc884a936b73c285063
[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.venstarthermostat.internal.dto;
14
15 /**
16  * The {@link VenstarSensor} represents a sensor returned from the REST API.
17  *
18  * @author William Welliver - Initial contribution
19  */
20 public class VenstarSensor {
21     String name;
22     double temp;
23     double hum;
24
25     public String getName() {
26         return name;
27     }
28
29     public void setName(String name) {
30         this.name = name;
31     }
32
33     public double getTemp() {
34         return temp;
35     }
36
37     public void setTemp(double temp) {
38         this.temp = temp;
39     }
40
41     public double getHum() {
42         return hum;
43     }
44
45     public void setHum(double hum) {
46         this.hum = hum;
47     }
48 }