]> git.basschouten.com Git - openhab-addons.git/blob
e08132cad98740cfffde39c79c4be7210aadbc77
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.ojelectronics.internal.models.groups;
14
15 import java.util.Date;
16
17 import org.eclipse.jdt.annotation.NonNullByDefault;
18 import org.eclipse.jdt.annotation.Nullable;
19
20 import com.google.gson.annotations.SerializedName;
21
22 /**
23  * Model for a thermostat
24  *
25  * @author Christian Kittel - Initial contribution
26  */
27 @NonNullByDefault
28 public class Thermostat {
29
30     public int id;
31
32     public int action;
33
34     public String serialNumber = "";
35
36     public String groupName = "";
37
38     public int groupId;
39
40     public int customerId;
41
42     @SerializedName("SWversion")
43     public String softwareVersion = "";
44
45     public boolean online;
46
47     public boolean heating;
48
49     public int roomTemperature;
50
51     public int floorTemperature;
52
53     public int regulationMode;
54
55     public @Nullable Schedule schedule;
56
57     public int comfortSetpoint;
58
59     public Date comfortEndTime = new Date();
60
61     public int manualModeSetpoint;
62
63     public boolean vacationEnabled;
64
65     public Date vacationBeginDay = new Date();
66
67     public Date vacationEndDay = new Date();
68
69     public int vacationTemperature;
70
71     public boolean lastPrimaryModeIsAuto;
72
73     public Date boostEndTime = new Date();
74
75     public int frostProtectionTemperature;
76
77     public int errorCode;
78
79     public String thermostatName = "";
80
81     public boolean openWindow;
82
83     public boolean adaptiveMode;
84
85     public boolean daylightSaving;
86
87     public int sensorAppl;
88
89     public int minSetpoint;
90
91     public int maxSetpoint;
92
93     public int timeZone;
94
95     public boolean daylightSavingActive;
96
97     public int floorType;
98 }