]> git.basschouten.com Git - openhab-addons.git/blob
88e57ceaa23df4a43f31d6481662acf5d8bd6a0e
[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.pentair.internal.config;
14
15 import org.apache.commons.lang3.builder.ToStringBuilder;
16
17 /**
18  * Configuration parameters for IP Bridge
19  *
20  * @author Jeff James - initial contribution
21  *
22  */
23 public class PentairIPBridgeConfig {
24     /** IP address of destination */
25     public String address;
26     /** Port of destination */
27     public Integer port;
28
29     /** ID to use when sending commands on the Pentair RS485 bus. */
30     public Integer id;
31
32     @Override
33     public String toString() {
34         return new ToStringBuilder(this).append("address", address).append("port", port).append("id", id).toString();
35     }
36 }