]> git.basschouten.com Git - openhab-addons.git/blob
5975a4ca69acba6ba7fffddbc9fc6b01ecbf00b1
[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 an {@link org.openhab.binding.lutron.handler.HWSerialBridgeHandler}.
17  *
18  * @author Andrew Shilliday - Initial contribution
19  */
20 public class HwSerialBridgeConfig {
21     public static final String SERIAL_PORT = "serialPort";
22     public static final String BAUD = "baudRate";
23     public static final String UPDATE_TIME = "updateTime";
24     public static final Integer DEFAULT_BAUD = 9600;
25
26     private String serialPort;
27     private Integer baudRate = DEFAULT_BAUD;
28     private Boolean updateTime;
29
30     public String getSerialPort() {
31         return serialPort;
32     }
33
34     public void setSerialPort(String serialPort) {
35         this.serialPort = serialPort;
36     }
37
38     public Integer getBaudRate() {
39         return baudRate;
40     }
41
42     public void setBaudRate(Integer baudRate) {
43         this.baudRate = baudRate;
44     }
45
46     public Boolean getUpdateTime() {
47         return updateTime;
48     }
49
50     public void setUpdateTime(Boolean updateTime) {
51         this.updateTime = updateTime;
52     }
53 }