2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.nikohomecontrol.internal.protocol.nhc1;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
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.
21 * @author Mark Herwege - Initial Contribution
24 public final class NhcSystemInfo1 {
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 = "";
37 public String getSwVersion() {
41 void setSwVersion(String swVersion) {
42 this.swVersion = swVersion;
45 public String getApi() {
49 void setApi(String api) {
53 public String getTime() {
57 void setTime(String time) {
61 public String getLanguage() {
65 void setLanguage(String language) {
66 this.language = language;
69 public String getCurrency() {
73 void setCurrency(String currency) {
74 this.currency = currency;
77 public String getUnits() {
81 void setUnits(String units) {
85 public String getDst() {
89 void setDst(String dst) {
93 public String getTz() {
97 void setTz(String tz) {
101 public String getLastEnergyErase() {
102 return lastEnergyErase;
105 void setLastEnergyErase(String lastEnergyErase) {
106 this.lastEnergyErase = lastEnergyErase;
109 public String getLastConfig() {
113 void setLastConfig(String lastConfig) {
114 this.lastConfig = lastConfig;