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