]> git.basschouten.com Git - openhab-addons.git/blob
3f0012f872aa75c10e6ef9579e9365ec4fe652ee
[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.ventaair.internal.message.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * Part of the {@link DeviceInfoMessage} containing the measurements of the device
19  *
20  * @author Stefan Triller - Initial contribution
21  *
22  */
23 public class Measurements {
24     @SerializedName(value = "Temperature")
25     private double temperature;
26
27     @SerializedName(value = "Humidity")
28     private double humidity;
29
30     @SerializedName(value = "Dust")
31     private double dust;
32
33     @SerializedName(value = "WaterLevel")
34     private int waterLevel;
35
36     @SerializedName(value = "FanRpm")
37     private int fanRpm;
38
39     public double getTemperature() {
40         return temperature;
41     }
42
43     public double getHumidity() {
44         return humidity;
45     }
46
47     public double getDust() {
48         return dust;
49     }
50
51     public int getWaterLevel() {
52         return waterLevel;
53     }
54
55     public int getFanRpm() {
56         return fanRpm;
57     }
58 }