]> git.basschouten.com Git - openhab-addons.git/blob
dba37d0b69806b63acd1ef389be77783618471b6
[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.innogysmarthome.internal.client.entity.event;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * @author Oliver Kuhl - Initial contribution
19  *
20  */
21 public class EventProperties {
22     /** SHC Properties **/
23     private Integer configVersion;
24
25     private Boolean isConnected;
26
27     /** Writable capability properties **/
28     private Integer dimLevel;
29
30     private Boolean onState;
31
32     private String operationMode;
33
34     private Double pointTemperature;
35
36     private Integer shutterLevel;
37
38     private Boolean value;
39
40     /** readable capability properties **/
41     private Double absoluteEnergyConsumption;
42
43     private Double energyConsumptionDayEuro;
44
45     private Double energyConsumptionDayKWh;
46
47     private Double energyConsumptionMonthEuro;
48
49     private Double energyConsumptionMonthKWh;
50
51     private Double energyPerDayInEuro;
52
53     private Double energyPerDayInKWh;
54
55     private Double energyPerMonthInEuro;
56
57     private Double energyPerMonthInKWh;
58
59     private Boolean frostWarning;
60
61     private Double humidity;
62
63     private Boolean isOpen;
64
65     private Boolean isSmokeAlarm;
66
67     private Integer lastKeyPressCounter;
68
69     private Integer lastPressedButtonIndex;
70
71     /**
72      * Key press type
73      */
74     @SerializedName("type")
75     private String lastKeyPressType;
76
77     private Double luminance;
78
79     private Boolean moldWarning;
80
81     private Integer motionDetectedCount;
82
83     private Double powerConsumptionWatt;
84
85     private Double powerInWatt;
86
87     private Double temperature;
88
89     private Double totalEnergy;
90
91     private Boolean windowReductionActive;
92
93     private Double cpuUsage;
94
95     private Double diskUsage;
96
97     private Double memoryUsage;
98
99     /**
100      * @return the configurationVersion
101      */
102     public Integer getConfigVersion() {
103         return configVersion;
104     }
105
106     /**
107      * @param configVersion the configurationVersion to set
108      */
109     public void setConfigVersion(final Integer configVersion) {
110         this.configVersion = configVersion;
111     }
112
113     /**
114      * @return the isConnected
115      */
116     public Boolean getIsConnected() {
117         return isConnected;
118     }
119
120     /**
121      * @param isConnected the isConnected to set
122      */
123     public void setIsConnected(final Boolean isConnected) {
124         this.isConnected = isConnected;
125     }
126
127     /**
128      * @return the dimLevel
129      */
130     public Integer getDimLevel() {
131         return dimLevel;
132     }
133
134     /**
135      * @param dimLevel the dimLevel to set
136      */
137     public void setDimLevel(final Integer dimLevel) {
138         this.dimLevel = dimLevel;
139     }
140
141     /**
142      * @return the onState
143      */
144     public Boolean getOnState() {
145         return onState;
146     }
147
148     /**
149      * @param onState the onState to set
150      */
151     public void setOnState(final Boolean onState) {
152         this.onState = onState;
153     }
154
155     /**
156      * @return the operationMode
157      */
158     public String getOperationMode() {
159         return operationMode;
160     }
161
162     /**
163      * @param operationMode the operationMode to set
164      */
165     public void setOperationMode(final String operationMode) {
166         this.operationMode = operationMode;
167     }
168
169     /**
170      * @return the pointTemperature
171      */
172     public Double getPointTemperature() {
173         return pointTemperature;
174     }
175
176     /**
177      * @param pointTemperature the pointTemperature to set
178      */
179     public void setPointTemperature(final Double pointTemperature) {
180         this.pointTemperature = pointTemperature;
181     }
182
183     /**
184      * @return the shutterLevel
185      */
186     public Integer getShutterLevel() {
187         return shutterLevel;
188     }
189
190     /**
191      * @param shutterLevel the shutterLevel to set
192      */
193     public void setShutterLevel(final Integer shutterLevel) {
194         this.shutterLevel = shutterLevel;
195     }
196
197     /**
198      * @return the value
199      */
200     public Boolean getValue() {
201         return value;
202     }
203
204     /**
205      * @param value the value to set
206      */
207     public void setValue(final Boolean value) {
208         this.value = value;
209     }
210
211     /**
212      * @return the absoluteEnergyConsumption
213      */
214     public Double getAbsoluteEnergyConsumption() {
215         return absoluteEnergyConsumption;
216     }
217
218     /**
219      * @param absoluteEnergyConsumption the absoluteEnergyConsumption to set
220      */
221     public void setAbsoluteEnergyConsumption(final Double absoluteEnergyConsumption) {
222         this.absoluteEnergyConsumption = absoluteEnergyConsumption;
223     }
224
225     /**
226      * @return the energyConsumptionDayEuro
227      */
228     public Double getEnergyConsumptionDayEuro() {
229         return energyConsumptionDayEuro;
230     }
231
232     /**
233      * @param energyConsumptionDayEuro the energyConsumptionDayEuro to set
234      */
235     public void setEnergyConsumptionDayEuro(final Double energyConsumptionDayEuro) {
236         this.energyConsumptionDayEuro = energyConsumptionDayEuro;
237     }
238
239     /**
240      * @return the energyConsumptionDayKWh
241      */
242     public Double getEnergyConsumptionDayKWh() {
243         return energyConsumptionDayKWh;
244     }
245
246     /**
247      * @param energyConsumptionDayKWh the energyConsumptionDayKWh to set
248      */
249     public void setEnergyConsumptionDayKWh(final Double energyConsumptionDayKWh) {
250         this.energyConsumptionDayKWh = energyConsumptionDayKWh;
251     }
252
253     /**
254      * @return the energyConsumptionMonthEuro
255      */
256     public Double getEnergyConsumptionMonthEuro() {
257         return energyConsumptionMonthEuro;
258     }
259
260     /**
261      * @param energyConsumptionMonthEuro the energyConsumptionMonthEuro to set
262      */
263     public void setEnergyConsumptionMonthEuro(final Double energyConsumptionMonthEuro) {
264         this.energyConsumptionMonthEuro = energyConsumptionMonthEuro;
265     }
266
267     /**
268      * @return the energyConsumptionMonthKWh
269      */
270     public Double getEnergyConsumptionMonthKWh() {
271         return energyConsumptionMonthKWh;
272     }
273
274     /**
275      * @param energyConsumptionMonthKWh the energyConsumptionMonthKWh to set
276      */
277     public void setEnergyConsumptionMonthKWh(final Double energyConsumptionMonthKWh) {
278         this.energyConsumptionMonthKWh = energyConsumptionMonthKWh;
279     }
280
281     /**
282      * @return the energyPerDayInEuro
283      */
284     public Double getEnergyPerDayInEuro() {
285         return energyPerDayInEuro;
286     }
287
288     /**
289      * @param energyPerDayInEuro the energyPerDayInEuro to set
290      */
291     public void setEnergyPerDayInEuro(final Double energyPerDayInEuro) {
292         this.energyPerDayInEuro = energyPerDayInEuro;
293     }
294
295     /**
296      * @return the energyPerDayInKWh
297      */
298     public Double getEnergyPerDayInKWh() {
299         return energyPerDayInKWh;
300     }
301
302     /**
303      * @param energyPerDayInKWh the energyPerDayInKWh to set
304      */
305     public void setEnergyPerDayInKWh(final Double energyPerDayInKWh) {
306         this.energyPerDayInKWh = energyPerDayInKWh;
307     }
308
309     /**
310      * @return the energyPerMonthInEuro
311      */
312     public Double getEnergyPerMonthInEuro() {
313         return energyPerMonthInEuro;
314     }
315
316     /**
317      * @param energyPerMonthInEuro the energyPerMonthInEuro to set
318      */
319     public void setEnergyPerMonthInEuro(final Double energyPerMonthInEuro) {
320         this.energyPerMonthInEuro = energyPerMonthInEuro;
321     }
322
323     /**
324      * @return the energyPerMonthInKWh
325      */
326     public Double getEnergyPerMonthInKWh() {
327         return energyPerMonthInKWh;
328     }
329
330     /**
331      * @param energyPerMonthInKWh the energyPerMonthInKWh to set
332      */
333     public void setEnergyPerMonthInKWh(final Double energyPerMonthInKWh) {
334         this.energyPerMonthInKWh = energyPerMonthInKWh;
335     }
336
337     /**
338      * @return the frostWarning
339      */
340     public Boolean getFrostWarning() {
341         return frostWarning;
342     }
343
344     /**
345      * @param frostWarning the frostWarning to set
346      */
347     public void setFrostWarning(final Boolean frostWarning) {
348         this.frostWarning = frostWarning;
349     }
350
351     /**
352      * @return the humidity
353      */
354     public Double getHumidity() {
355         return humidity;
356     }
357
358     /**
359      * @param humidity the humidity to set
360      */
361     public void setHumidity(final Double humidity) {
362         this.humidity = humidity;
363     }
364
365     /**
366      * @return the isOpen
367      */
368     public Boolean getIsOpen() {
369         return isOpen;
370     }
371
372     /**
373      * @param isOpen the isOpen to set
374      */
375     public void setIsOpen(final Boolean isOpen) {
376         this.isOpen = isOpen;
377     }
378
379     /**
380      * @return the isSmokeAlarm
381      */
382     public Boolean getIsSmokeAlarm() {
383         return isSmokeAlarm;
384     }
385
386     /**
387      * @param isSmokeAlarm the isSmokeAlarm to set
388      */
389     public void setIsSmokeAlarm(final Boolean isSmokeAlarm) {
390         this.isSmokeAlarm = isSmokeAlarm;
391     }
392
393     /**
394      * @return the lastKeyPressCounter
395      */
396     public Integer getLastKeyPressCounter() {
397         return lastKeyPressCounter;
398     }
399
400     /**
401      * @param lastKeyPressCounter the lastKeyPressCounter to set
402      */
403     public void setLastKeyPressCounter(final Integer lastKeyPressCounter) {
404         this.lastKeyPressCounter = lastKeyPressCounter;
405     }
406
407     /**
408      * @return the lastPressedButtonIndex
409      */
410     public Integer getLastPressedButtonIndex() {
411         return lastPressedButtonIndex;
412     }
413
414     /**
415      * @param lastPressedButtonIndex the lastPressedButtonIndex to set
416      */
417     public void setLastPressedButtonIndex(final Integer lastPressedButtonIndex) {
418         this.lastPressedButtonIndex = lastPressedButtonIndex;
419     }
420
421     public String getLastKeyPressType() {
422         return lastKeyPressType;
423     }
424
425     public void setLastKeyPressType(final String lastKeyPressType) {
426         this.lastKeyPressType = lastKeyPressType;
427     }
428
429     /**
430      * @return the luminance
431      */
432     public Double getLuminance() {
433         return luminance;
434     }
435
436     /**
437      * @param luminance the luminance to set
438      */
439     public void setLuminance(final Double luminance) {
440         this.luminance = luminance;
441     }
442
443     /**
444      * @return the moldWarning
445      */
446     public Boolean getMoldWarning() {
447         return moldWarning;
448     }
449
450     /**
451      * @param moldWarning the moldWarning to set
452      */
453     public void setMoldWarning(final Boolean moldWarning) {
454         this.moldWarning = moldWarning;
455     }
456
457     /**
458      * @return the motionDetectedCount
459      */
460     public Integer getMotionDetectedCount() {
461         return motionDetectedCount;
462     }
463
464     /**
465      * @param motionDetectedCount the motionDetectedCount to set
466      */
467     public void setMotionDetectedCount(final Integer motionDetectedCount) {
468         this.motionDetectedCount = motionDetectedCount;
469     }
470
471     /**
472      * @return the powerConsumptionWatt
473      */
474     public Double getPowerConsumptionWatt() {
475         return powerConsumptionWatt;
476     }
477
478     /**
479      * @param powerConsumptionWatt the powerConsumptionWatt to set
480      */
481     public void setPowerConsumptionWatt(final Double powerConsumptionWatt) {
482         this.powerConsumptionWatt = powerConsumptionWatt;
483     }
484
485     /**
486      * @return the powerInWatt
487      */
488     public Double getPowerInWatt() {
489         return powerInWatt;
490     }
491
492     /**
493      * @param powerInWatt the powerInWatt to set
494      */
495     public void setPowerInWatt(final Double powerInWatt) {
496         this.powerInWatt = powerInWatt;
497     }
498
499     /**
500      * @return the temperature
501      */
502     public Double getTemperature() {
503         return temperature;
504     }
505
506     /**
507      * @param temperature the temperature to set
508      */
509     public void setTemperature(final Double temperature) {
510         this.temperature = temperature;
511     }
512
513     /**
514      * @return the totalEnergy
515      */
516     public Double getTotalEnergy() {
517         return totalEnergy;
518     }
519
520     /**
521      * @param totalEnergy the totalEnergy to set
522      */
523     public void setTotalEnergy(final Double totalEnergy) {
524         this.totalEnergy = totalEnergy;
525     }
526
527     /**
528      * @return the windowReductionActive
529      */
530     public Boolean getWindowReductionActive() {
531         return windowReductionActive;
532     }
533
534     /**
535      * @param windowReductionActive the windowReductionActive to set
536      */
537     public void setWindowReductionActive(final Boolean windowReductionActive) {
538         this.windowReductionActive = windowReductionActive;
539     }
540
541     /**
542      * @param cpuUsage the cpuUsage to set
543      */
544     public void setCpuUsage(final Double cpuUsage) {
545         this.cpuUsage = cpuUsage;
546     }
547
548     /**
549      * @return the cpuUsage
550      */
551     public Double getCpuUsage() {
552         return cpuUsage;
553     }
554
555     /**
556      * @param diskUsage the diskUsage to set
557      */
558     public void setDiskUsage(final Double diskUsage) {
559         this.diskUsage = diskUsage;
560     }
561
562     /**
563      * @return the diskUsage
564      */
565     public Double getDiskUsage() {
566         return diskUsage;
567     }
568
569     /**
570      * @param memoryUsage the memoryUsage to set
571      */
572     public void setMemoryUsage(final Double memoryUsage) {
573         this.memoryUsage = memoryUsage;
574     }
575
576     /**
577      * @return the memoryUsage
578      */
579     public Double getMemoryUsage() {
580         return memoryUsage;
581     }
582 }