]> git.basschouten.com Git - openhab-addons.git/blob
b423756f8a9787ff64b673d48ed73d9e44c75d46
[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 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link VenstarRuntime} represents one Runtime from the RuntimeData returned from the REST API
19  *
20  * @author Matthew Davies - Initial contribution
21  */
22 @NonNullByDefault
23 public class VenstarRuntime {
24     private long ts;
25     private int heat1;
26     private int heat2;
27     private int cool1;
28     private int cool2;
29     private int aux1;
30     private int aux2;
31     private int fc;
32
33     public long getTimeStamp() {
34         return ts;
35     }
36
37     public void setTimeStamp(long ts) {
38         this.ts = ts;
39     }
40
41     public int getHeat1Runtime() {
42         return heat1;
43     }
44
45     public void setHeat1Runtime(int heat1) {
46         this.heat1 = heat1;
47     }
48
49     public int getHeat2Runtime() {
50         return heat2;
51     }
52
53     public void setHeat2Runtime(int heat2) {
54         this.heat2 = heat2;
55     }
56
57     public int getCool1Runtime() {
58         return cool1;
59     }
60
61     public void setCool1Runtime(int cool1) {
62         this.cool1 = cool1;
63     }
64
65     public int getCool2Runtime() {
66         return cool2;
67     }
68
69     public void setCool2Runtime(int cool2) {
70         this.cool2 = cool2;
71     }
72
73     public int getAux1Runtime() {
74         return aux1;
75     }
76
77     public void setAux1Runtime(int aux1) {
78         this.aux1 = aux1;
79     }
80
81     public int getAux2Runtime() {
82         return aux2;
83     }
84
85     public void setAux2Runtime(int aux2) {
86         this.aux2 = aux2;
87     }
88
89     public int getFreeCoolRuntime() {
90         return fc;
91     }
92
93     public void setFreeCoolRuntime(int fc) {
94         this.fc = fc;
95     }
96 }