2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.lutron.internal.hw;
16 * Configuration settings for an {@link org.openhab.binding.lutron.internal.hw.HwSerialBridgeHandler}.
18 * @author Andrew Shilliday - Initial contribution
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;
26 private String serialPort;
27 private Integer baudRate = DEFAULT_BAUD;
28 private Boolean updateTime;
30 public String getSerialPort() {
34 public void setSerialPort(String serialPort) {
35 this.serialPort = serialPort;
38 public Integer getBaudRate() {
42 public void setBaudRate(Integer baudRate) {
43 this.baudRate = baudRate;
46 public Boolean getUpdateTime() {
50 public void setUpdateTime(Boolean updateTime) {
51 this.updateTime = updateTime;