]> git.basschouten.com Git - openhab-addons.git/blob
5637bf1c80aec93ab36dd8b296dcfe202c5061ef
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.pentair.internal.config;
14
15 /**
16  * Configuration parameters for Serial Bridge
17  *
18  * @author Jeff James - initial contribution
19  *
20  */
21 public class PentairSerialBridgeConfig {
22     /** path or name of serial port, usually /dev/ttyUSB0 format for linux/mac, COM1 for windows */
23     public String serialPort;
24     /** ID to use when sending commands on the Pentair RS485 bus. */
25     public Integer id;
26
27     @Override
28     public String toString() {
29         return getClass().getSimpleName() + "{ serialPort=" + serialPort + ", id=" + id + "}";
30     }
31 }