]> git.basschouten.com Git - openhab-addons.git/blob
cdc5c1552f7b096a048b923813f34e0c00543892
[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.airvisualnode.internal.dto.airvisual;
14
15 /**
16  * Settings data.
17  *
18  * @author Victor Antonovich - Initial contribution
19  */
20 public class Settings {
21
22     private String followedStation;
23     private boolean isAqiUsa;
24     private boolean isConcentrationShowed;
25     private boolean isIndoor;
26     private boolean isLcdOn;
27     private boolean isNetworkTime;
28     private boolean isTemperatureCelsius;
29     private String language;
30     private int lcdBrightness;
31     private String nodeName;
32     private PowerSaving powerSaving;
33     private String speedUnit;
34     private String timezone;
35
36     public Settings(String followedStation, boolean isAqiUsa, boolean isConcentrationShowed, boolean isIndoor,
37             boolean isLcdOn, boolean isNetworkTime, boolean isTemperatureCelsius, String language, int lcdBrightness,
38             String nodeName, PowerSaving powerSaving, String speedUnit, String timezone) {
39         this.followedStation = followedStation;
40         this.isAqiUsa = isAqiUsa;
41         this.isConcentrationShowed = isConcentrationShowed;
42         this.isIndoor = isIndoor;
43         this.isLcdOn = isLcdOn;
44         this.isNetworkTime = isNetworkTime;
45         this.isTemperatureCelsius = isTemperatureCelsius;
46         this.language = language;
47         this.lcdBrightness = lcdBrightness;
48         this.nodeName = nodeName;
49         this.powerSaving = powerSaving;
50         this.speedUnit = speedUnit;
51         this.timezone = timezone;
52     }
53
54     public String getFollowedStation() {
55         return followedStation;
56     }
57
58     public void setFollowedStation(String followedStation) {
59         this.followedStation = followedStation;
60     }
61
62     public boolean isIsAqiUsa() {
63         return isAqiUsa;
64     }
65
66     public void setIsAqiUsa(boolean isAqiUsa) {
67         this.isAqiUsa = isAqiUsa;
68     }
69
70     public boolean isIsConcentrationShowed() {
71         return isConcentrationShowed;
72     }
73
74     public void setIsConcentrationShowed(boolean isConcentrationShowed) {
75         this.isConcentrationShowed = isConcentrationShowed;
76     }
77
78     public boolean isIsIndoor() {
79         return isIndoor;
80     }
81
82     public void setIsIndoor(boolean isIndoor) {
83         this.isIndoor = isIndoor;
84     }
85
86     public boolean isIsLcdOn() {
87         return isLcdOn;
88     }
89
90     public void setIsLcdOn(boolean isLcdOn) {
91         this.isLcdOn = isLcdOn;
92     }
93
94     public boolean isIsNetworkTime() {
95         return isNetworkTime;
96     }
97
98     public void setIsNetworkTime(boolean isNetworkTime) {
99         this.isNetworkTime = isNetworkTime;
100     }
101
102     public boolean isIsTemperatureCelsius() {
103         return isTemperatureCelsius;
104     }
105
106     public void setIsTemperatureCelsius(boolean isTemperatureCelsius) {
107         this.isTemperatureCelsius = isTemperatureCelsius;
108     }
109
110     public String getLanguage() {
111         return language;
112     }
113
114     public void setLanguage(String language) {
115         this.language = language;
116     }
117
118     public int getLcdBrightness() {
119         return lcdBrightness;
120     }
121
122     public void setLcdBrightness(int lcdBrightness) {
123         this.lcdBrightness = lcdBrightness;
124     }
125
126     public String getNodeName() {
127         return nodeName;
128     }
129
130     public void setNodeName(String nodeName) {
131         this.nodeName = nodeName;
132     }
133
134     public PowerSaving getPowerSaving() {
135         return powerSaving;
136     }
137
138     public void setPowerSaving(PowerSaving powerSaving) {
139         this.powerSaving = powerSaving;
140     }
141
142     public String getSpeedUnit() {
143         return speedUnit;
144     }
145
146     public void setSpeedUnit(String speedUnit) {
147         this.speedUnit = speedUnit;
148     }
149
150     public String getTimezone() {
151         return timezone;
152     }
153
154     public void setTimezone(String timezone) {
155         this.timezone = timezone;
156     }
157 }