]> git.basschouten.com Git - openhab-addons.git/blob
625ae1c3beb7bec22a179d3d130478e6f87f18b4
[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.capability;
14
15 /**
16  * Holds the Capability configuration.
17  *
18  * @author Oliver Kuhl - Initial contribution
19  *
20  */
21 public class CapabilityConfig {
22
23     /**
24      * Name of the capability
25      */
26     private String name;
27
28     /**
29      * Specifies if the activity logging is enabled
30      */
31     private Boolean activityLogActive;
32
33     /**
34      * Specifies if the activity logging is enabled
35      */
36     private Integer pushButtons;
37
38     /**
39      * The valve index
40      */
41     private Integer valveIndex;
42
43     /**
44      * The valve type
45      */
46     private String valveType;
47
48     /**
49      * The valve control mode: Heating or Cooling
50      */
51     private String controlMode;
52
53     /**
54      * Dimmer: Programmed on the device as maximum/minimum and not used for UI representation
55      */
56     private Integer technicalMaxValue;
57
58     /**
59      * Dimmer: Programmed on the device as maximum/minimum and not used for UI representation
60      */
61     private Integer technicalMinValue;
62
63     /**
64      * Rollershutter: How long it takes for the shutter to open completely when it's completely closed (in tenth of
65      * second)
66      */
67     private Integer timeFullUp;
68
69     /**
70      * Rollershutter: How long it takes for the shutter to close completely when it's completely open (in tenth of
71      * second)
72      */
73     private Integer timeFullDown;
74
75     /**
76      * Rollershutter: Flag indicating the ISR is in the calibration mode or not.
77      */
78     private Boolean isCalibrating;
79
80     /**
81      * Switchactuator:
82      * "different types of current sensing behavior the ISS can have:
83      * Enabled - Factory default value, current sensing is enabled; (default)
84      * DisabledNormal - Current sensing disabled, uses output 1;
85      * DisabledReversed - Current sensing disabled, uses output 2"
86      */
87     private String sensingBehavior;
88
89     /**
90      * Thermostatactuator: The max temperature
91      */
92     private Double maxTemperature;
93
94     /**
95      * Thermostatactuator: The min temperature
96      */
97     private Double minTemperature;
98
99     /**
100      * Thermostatactuator: Indicating whether the device is locked
101      */
102     private Boolean childLock;
103
104     /**
105      * Thermostatactuator: The window open temperature
106      */
107     private Double windowOpenTemperature;
108
109     /**
110      * Thermostatactuator: default PointTemperature
111      */
112     private String vRCCSetPoint;
113
114     /**
115      * Temperaturesensor: Indicating whether the device has freeze protection activated
116      */
117     private Boolean isFreezeProtectionActivated;
118
119     /**
120      * Temperaturesensor: The freeze protection temperature, default 6 °C
121      */
122     private Double freezeProtection;
123
124     /**
125      * Temperaturesensor: default Temperature
126      */
127     private String vRCCTemperature;
128
129     /**
130      * HumiditySensor: Indicating whether the device has mold protection activated
131      */
132     private Boolean isMoldProtectionActivated;
133
134     /**
135      * HumiditySensor: The humidity mold protection
136      */
137     private Double humidityMoldProtection;
138
139     /**
140      * HumiditySensor: default Humidity
141      */
142     private String vRCCHumidity;
143
144     /**
145      * SirenActuator: Alarm Sound Id
146      */
147     private String alarmSoundId;
148
149     /**
150      * SirenActuator: Notification Sound Id
151      */
152     private String notificationSoundId;
153
154     /**
155      * SirenActuator: Feedback Sound Id
156      */
157     private String feedbackSoundId;
158
159     /**
160      * RoomSetPoint/RoomTemperature/RoomHumidity: List of capability ids, which are linked to the VRCC
161      */
162     private String underlyingCapabilityIds;
163
164     /**
165      * WindowsDoorSensor: Time before the changed status is sent after the window/door is opened (in seconds)
166      */
167     private Integer eventFilterTime;
168
169     /**
170      * Medion ThermostatActuator: Specifies the temperature threshold that will denote a window open event. 0 = window
171      * reduction disabled 1-12 = 1/12 °C, 2/12 °C,…, 12/12 °C
172      */
173     private Integer windowOpenThreshold;
174
175     /**
176      * Medion ThermostatActuator: Duration in minutes for how long after the threshold was overstepped the valve will be
177      * closed (target temperature = OFF). After the set time, the temperature will jump back to the previous set target
178      * temperature.
179      */
180     private Integer windowOpenTimer;
181
182     /**
183      * Medion MotionDetectionSensor sensitivityControl
184      */
185     private Integer sensitivityControl;
186
187     /**
188      * Medion WindowDoorShockSensor: shockDetectorThreshold
189      */
190     private Integer shockDetectorThreshold;
191
192     /**
193      * @return the name
194      */
195     public String getName() {
196         return name;
197     }
198
199     /**
200      * @param name the name to set
201      */
202     public void setName(final String name) {
203         this.name = name;
204     }
205
206     /**
207      * @return the activityLogActive
208      */
209     public Boolean getActivityLogActive() {
210         return activityLogActive;
211     }
212
213     /**
214      * @param activityLogActive the activityLogActive to set
215      */
216     public void setActivityLogActive(final Boolean activityLogActive) {
217         this.activityLogActive = activityLogActive;
218     }
219
220     /**
221      * @return the pushButtons
222      */
223     public Integer getPushButtons() {
224         return pushButtons;
225     }
226
227     /**
228      * @param pushButtons the pushButtons to set
229      */
230     public void setPushButtons(final Integer pushButtons) {
231         this.pushButtons = pushButtons;
232     }
233
234     /**
235      * @return the valveIndex
236      */
237     public Integer getValveIndex() {
238         return valveIndex;
239     }
240
241     /**
242      * @param valveIndex the valveIndex to set
243      */
244     public void setValveIndex(final Integer valveIndex) {
245         this.valveIndex = valveIndex;
246     }
247
248     /**
249      * @return the valveType
250      */
251     public String getValveType() {
252         return valveType;
253     }
254
255     /**
256      * @param valveType the valveType to set
257      */
258     public void setValveType(final String valveType) {
259         this.valveType = valveType;
260     }
261
262     /**
263      * @return the controlMode
264      */
265     public String getControlMode() {
266         return controlMode;
267     }
268
269     /**
270      * @param controlMode the controlMode to set
271      */
272     public void setControlMode(final String controlMode) {
273         this.controlMode = controlMode;
274     }
275
276     /**
277      * @return the technicalMaxValue
278      */
279     public Integer getTechnicalMaxValue() {
280         return technicalMaxValue;
281     }
282
283     /**
284      * @param technicalMaxValue the technicalMaxValue to set
285      */
286     public void setTechnicalMaxValue(final Integer technicalMaxValue) {
287         this.technicalMaxValue = technicalMaxValue;
288     }
289
290     /**
291      * @return the technicalMinValue
292      */
293     public Integer getTechnicalMinValue() {
294         return technicalMinValue;
295     }
296
297     /**
298      * @param technicalMinValue the technicalMinValue to set
299      */
300     public void setTechnicalMinValue(final Integer technicalMinValue) {
301         this.technicalMinValue = technicalMinValue;
302     }
303
304     /**
305      * @return the timeFullUp
306      */
307     public Integer getTimeFullUp() {
308         return timeFullUp;
309     }
310
311     /**
312      * @param timeFullUp the timeFullUp to set
313      */
314     public void setTimeFullUp(final Integer timeFullUp) {
315         this.timeFullUp = timeFullUp;
316     }
317
318     /**
319      * @return the timeFullDown
320      */
321     public Integer getTimeFullDown() {
322         return timeFullDown;
323     }
324
325     /**
326      * @param timeFullDown the timeFullDown to set
327      */
328     public void setTimeFullDown(final Integer timeFullDown) {
329         this.timeFullDown = timeFullDown;
330     }
331
332     /**
333      * @return the isCalibrating
334      */
335     public Boolean getIsCalibrating() {
336         return isCalibrating;
337     }
338
339     /**
340      * @param isCalibrating the isCalibrating to set
341      */
342     public void setIsCalibrating(final Boolean isCalibrating) {
343         this.isCalibrating = isCalibrating;
344     }
345
346     /**
347      * @return the sensingBehavior
348      */
349     public String getSensingBehavior() {
350         return sensingBehavior;
351     }
352
353     /**
354      * @param sensingBehavior the sensingBehavior to set
355      */
356     public void setSensingBehavior(final String sensingBehavior) {
357         this.sensingBehavior = sensingBehavior;
358     }
359
360     /**
361      * @return the maxTemperature
362      */
363     public Double getMaxTemperature() {
364         return maxTemperature;
365     }
366
367     /**
368      * @param maxTemperature the maxTemperature to set
369      */
370     public void setMaxTemperature(final Double maxTemperature) {
371         this.maxTemperature = maxTemperature;
372     }
373
374     /**
375      * @return the minTemperature
376      */
377     public Double getMinTemperature() {
378         return minTemperature;
379     }
380
381     /**
382      * @param minTemperature the minTemperature to set
383      */
384     public void setMinTemperature(final Double minTemperature) {
385         this.minTemperature = minTemperature;
386     }
387
388     /**
389      * @return the childLock
390      */
391     public Boolean getChildLock() {
392         return childLock;
393     }
394
395     /**
396      * @param childLock the childLock to set
397      */
398     public void setChildLock(final Boolean childLock) {
399         this.childLock = childLock;
400     }
401
402     /**
403      * @return the windowOpenTemperature
404      */
405     public Double getWindowOpenTemperature() {
406         return windowOpenTemperature;
407     }
408
409     /**
410      * @param windowOpenTemperature the windowOpenTemperature to set
411      */
412     public void setWindowOpenTemperature(final Double windowOpenTemperature) {
413         this.windowOpenTemperature = windowOpenTemperature;
414     }
415
416     /**
417      * @return the vRCCSetPoint
418      */
419     public String getvRCCSetPoint() {
420         return vRCCSetPoint;
421     }
422
423     /**
424      * @param vRCCSetPoint the vRCCSetPoint to set
425      */
426     public void setvRCCSetPoint(final String vRCCSetPoint) {
427         this.vRCCSetPoint = vRCCSetPoint;
428     }
429
430     /**
431      * @return the isFreezeProtectionActivated
432      */
433     public Boolean getIsFreezeProtectionActivated() {
434         return isFreezeProtectionActivated;
435     }
436
437     /**
438      * @param isFreezeProtectionActivated the isFreezeProtectionActivated to set
439      */
440     public void setIsFreezeProtectionActivated(final Boolean isFreezeProtectionActivated) {
441         this.isFreezeProtectionActivated = isFreezeProtectionActivated;
442     }
443
444     /**
445      * @return the freezeProtection
446      */
447     public Double getFreezeProtection() {
448         return freezeProtection;
449     }
450
451     /**
452      * @param freezeProtection the freezeProtection to set
453      */
454     public void setFreezeProtection(final Double freezeProtection) {
455         this.freezeProtection = freezeProtection;
456     }
457
458     /**
459      * @return the vRCCTemperature
460      */
461     public String getvRCCTemperature() {
462         return vRCCTemperature;
463     }
464
465     /**
466      * @param vRCCTemperature the vRCCTemperature to set
467      */
468     public void setvRCCTemperature(final String vRCCTemperature) {
469         this.vRCCTemperature = vRCCTemperature;
470     }
471
472     /**
473      * @return the isMoldProtectionActivated
474      */
475     public Boolean getIsMoldProtectionActivated() {
476         return isMoldProtectionActivated;
477     }
478
479     /**
480      * @param isMoldProtectionActivated the isMoldProtectionActivated to set
481      */
482     public void setIsMoldProtectionActivated(final Boolean isMoldProtectionActivated) {
483         this.isMoldProtectionActivated = isMoldProtectionActivated;
484     }
485
486     /**
487      * @return the humidityMoldProtection
488      */
489     public Double getHumidityMoldProtection() {
490         return humidityMoldProtection;
491     }
492
493     /**
494      * @param humidityMoldProtection the humidityMoldProtection to set
495      */
496     public void setHumidityMoldProtection(final Double humidityMoldProtection) {
497         this.humidityMoldProtection = humidityMoldProtection;
498     }
499
500     /**
501      * @return the vRCCHumidity
502      */
503     public String getvRCCHumidity() {
504         return vRCCHumidity;
505     }
506
507     /**
508      * @param vRCCHumidity the vRCCHumidity to set
509      */
510     public void setvRCCHumidity(final String vRCCHumidity) {
511         this.vRCCHumidity = vRCCHumidity;
512     }
513
514     /**
515      * @return the alarmSoundId
516      */
517     public String getAlarmSoundId() {
518         return alarmSoundId;
519     }
520
521     /**
522      * @param alarmSoundId the alarmSoundId to set
523      */
524     public void setAlarmSoundId(final String alarmSoundId) {
525         this.alarmSoundId = alarmSoundId;
526     }
527
528     /**
529      * @return the notificationSoundId
530      */
531     public String getNotificationSoundId() {
532         return notificationSoundId;
533     }
534
535     /**
536      * @param notificationSoundId the notificationSoundId to set
537      */
538     public void setNotificationSoundId(final String notificationSoundId) {
539         this.notificationSoundId = notificationSoundId;
540     }
541
542     /**
543      * @return the feedbackSoundId
544      */
545     public String getFeedbackSoundId() {
546         return feedbackSoundId;
547     }
548
549     /**
550      * @param feedbackSoundId the feedbackSoundId to set
551      */
552     public void setFeedbackSoundId(final String feedbackSoundId) {
553         this.feedbackSoundId = feedbackSoundId;
554     }
555
556     /**
557      * @return the underlyingCapabilityIds
558      */
559     public String getUnderlyingCapabilityIds() {
560         return underlyingCapabilityIds;
561     }
562
563     /**
564      * @param underlyingCapabilityIds the underlyingCapabilityIds to set
565      */
566     public void setUnderlyingCapabilityIds(final String underlyingCapabilityIds) {
567         this.underlyingCapabilityIds = underlyingCapabilityIds;
568     }
569
570     /**
571      * @return the eventFilterTime
572      */
573     public Integer getEventFilterTime() {
574         return eventFilterTime;
575     }
576
577     /**
578      * @param eventFilterTime the eventFilterTime to set
579      */
580     public void setEventFilterTime(final Integer eventFilterTime) {
581         this.eventFilterTime = eventFilterTime;
582     }
583
584     /**
585      * @return the windowOpenThreshold
586      */
587     public Integer getWindowOpenThreshold() {
588         return windowOpenThreshold;
589     }
590
591     /**
592      * @param windowOpenThreshold the windowOpenThreshold to set
593      */
594     public void setWindowOpenThreshold(final Integer windowOpenThreshold) {
595         this.windowOpenThreshold = windowOpenThreshold;
596     }
597
598     /**
599      * @return the windowOpenTimer
600      */
601     public Integer getWindowOpenTimer() {
602         return windowOpenTimer;
603     }
604
605     /**
606      * @param windowOpenTimer the windowOpenTimer to set
607      */
608     public void setWindowOpenTimer(final Integer windowOpenTimer) {
609         this.windowOpenTimer = windowOpenTimer;
610     }
611
612     /**
613      * @return the sensitivityControl
614      */
615     public Integer getSensitivityControl() {
616         return sensitivityControl;
617     }
618
619     /**
620      * @param sensitivityControl the sensitivityControl to set
621      */
622     public void setSensitivityControl(final Integer sensitivityControl) {
623         this.sensitivityControl = sensitivityControl;
624     }
625
626     /**
627      * @return the shockDetectorThreshold
628      */
629     public Integer getShockDetectorThreshold() {
630         return shockDetectorThreshold;
631     }
632
633     /**
634      * @param shockDetectorThreshold the shockDetectorThreshold to set
635      */
636     public void setShockDetectorThreshold(final Integer shockDetectorThreshold) {
637         this.shockDetectorThreshold = shockDetectorThreshold;
638     }
639 }