]> git.basschouten.com Git - openhab-addons.git/blob
c647c1a13e76fad5eb8b78ead424944adeeeaf18
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.radiora.config;
14
15 /**
16  * Configuration class for RS232 thing type.
17  *
18  * @author Jeff Lauterbach - Initial Contribution
19  *
20  */
21 public class RS232Config {
22
23     private String portName;
24     private int baud = 9600;
25     private int zoneMapQueryInterval = 60;
26
27     public String getPortName() {
28         return portName;
29     }
30
31     public void setPortName(String portName) {
32         this.portName = portName;
33     }
34
35     public int getBaud() {
36         return baud;
37     }
38
39     public void setBaud(int baud) {
40         this.baud = baud;
41     }
42
43     public int getZoneMapQueryInterval() {
44         return zoneMapQueryInterval;
45     }
46
47     public void setZoneMapQueryInterval(int zoneMapQueryInterval) {
48         this.zoneMapQueryInterval = zoneMapQueryInterval;
49     }
50 }