]> git.basschouten.com Git - openhab-addons.git/blob
115b70e234246ec4aadb6bfa3fe0cf0aa4563cdc
[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.nikohomecontrol.internal.protocol.nhc1;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link NhcSystemInfo1} class represents the systeminfo Niko Home Control communication object. It contains all
19  * Niko Home Control system data received from the Niko Home Control controller when initializing the connection.
20  *
21  * @author Mark Herwege - Initial Contribution
22  */
23 @NonNullByDefault
24 public final class NhcSystemInfo1 {
25
26     private String swVersion = "";
27     private String api = "";
28     private String time = "";
29     private String language = "";
30     private String currency = "";
31     private String units = "";
32     private String dst = "";
33     private String tz = "";
34     private String lastEnergyErase = "";
35     private String lastConfig = "";
36
37     public String getSwVersion() {
38         return swVersion;
39     }
40
41     void setSwVersion(String swVersion) {
42         this.swVersion = swVersion;
43     }
44
45     public String getApi() {
46         return api;
47     }
48
49     void setApi(String api) {
50         this.api = api;
51     }
52
53     public String getTime() {
54         return time;
55     }
56
57     void setTime(String time) {
58         this.time = time;
59     }
60
61     public String getLanguage() {
62         return language;
63     }
64
65     void setLanguage(String language) {
66         this.language = language;
67     }
68
69     public String getCurrency() {
70         return currency;
71     }
72
73     void setCurrency(String currency) {
74         this.currency = currency;
75     }
76
77     public String getUnits() {
78         return units;
79     }
80
81     void setUnits(String units) {
82         this.units = units;
83     }
84
85     public String getDst() {
86         return dst;
87     }
88
89     void setDst(String dst) {
90         this.dst = dst;
91     }
92
93     public String getTz() {
94         return tz;
95     }
96
97     void setTz(String tz) {
98         this.tz = tz;
99     }
100
101     public String getLastEnergyErase() {
102         return lastEnergyErase;
103     }
104
105     void setLastEnergyErase(String lastEnergyErase) {
106         this.lastEnergyErase = lastEnergyErase;
107     }
108
109     public String getLastConfig() {
110         return lastConfig;
111     }
112
113     void setLastConfig(String lastConfig) {
114         this.lastConfig = lastConfig;
115     }
116 }