]> git.basschouten.com Git - openhab-addons.git/blob
84f0b6ba5d4b73933058fd30a1f707bc50cd9a8c
[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.lutron.internal.hw;
14
15 /**
16  * Configuration settings for a {@link org.openhab.binding.lutron.internal.hw.HwDimmerHandler}.
17  *
18  * @author Andrew Shilliday - Initial contribution
19  */
20 public class HwDimmerConfig {
21     private static final int DEFAULT_FADE = 1;
22     private static final int DEFAULT_LEVEL = 100;
23
24     private String address;
25     private Integer fadeTime = DEFAULT_FADE;
26     private Integer defaultLevel = DEFAULT_LEVEL;
27
28     public String getAddress() {
29         return this.address;
30     }
31
32     public void setAddress(String address) {
33         this.address = address;
34     }
35
36     public Integer getFadeTime() {
37         return this.fadeTime;
38     }
39
40     public void setFadeTime(Integer fadeTime) {
41         this.fadeTime = fadeTime;
42     }
43
44     public Integer getDefaultLevel() {
45         return defaultLevel;
46     }
47
48     public void setDefaultLevel(Integer defaultLevel) {
49         this.defaultLevel = defaultLevel;
50     }
51 }