]> git.basschouten.com Git - openhab-addons.git/blob
de5336e2f665b1fbc061e9efc9da78c7a9c5e432
[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.millheat.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * This DTO class wraps the room json structure
19  * 
20  * @author Arne Seime - Initial contribution
21  */
22 public class RoomDTO {
23     public long roomId;
24     @SerializedName("roomName")
25     public String name;
26     public int comfortTemp;
27     public int sleepTemp;
28     public int awayTemp;
29     @SerializedName("avgTemp")
30     public double currentTemp;
31     public String roomProgram;
32     public int currentMode = 0;
33     public boolean heatStatus = false;
34     @SerializedName("onLineDeviceNum")
35     public int onlineDeviceCount = 0;
36     @SerializedName("offLineDeviceNum")
37     public int offLineDeviceCount = 0;
38     @SerializedName("total")
39     public int totalCount = 0;
40     public int independentCount = 0;
41     @SerializedName("isOffline")
42     public boolean offline = true;
43     public String controlSource;
44 }