]> git.basschouten.com Git - openhab-addons.git/blob
7d76726d1374a17088f58d6c606282fc72fe1714
[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.dscalarm.internal.config;
14
15 /**
16  * Configuration class for the DSC IT100 RS232 Serial interface bridge, used to connect to the DSC Alarm system.
17  *
18  * @author Russell Stephens - Initial contribution
19  */
20
21 public class IT100BridgeConfiguration {
22
23     // IT-100 Bridge Thing constants
24     public static final String SERIAL_PORT = "serialPort";
25     public static final String BAUD = "baud";
26     public static final String POLL_PERIOD = "pollPeriod";
27
28     /**
29      * DSC IT100 port name for a serial connection. Valid values are e.g. COM1 for Windows and /dev/ttyS0 or
30      * /dev/ttyUSB0 for Linux.
31      */
32     public String serialPort;
33
34     /**
35      * DSC IT100 baud rate for serial connections. Valid values are 9600 (default), 19200, 38400, 57600, and 115200.
36      */
37     public Integer baud;
38
39     /**
40      * The Panel Poll Period. Can be set in range 1-15 minutes. Default is 1 minute;
41      */
42     public Integer pollPeriod;
43 }