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