]> git.basschouten.com Git - openhab-addons.git/blob
1d12d324f16c428aca726352a99724d85e727c12
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.knx.internal.config;
14
15 import java.math.BigDecimal;
16
17 import org.openhab.binding.knx.internal.handler.KNXBridgeBaseThingHandler;
18
19 /**
20  * {@link KNXBridgeBaseThingHandler} configuration
21  *
22  * @author Simon Kaufmann - initial contribution and API
23  *
24  */
25 public class BridgeConfiguration {
26     private int autoReconnectPeriod;
27     private BigDecimal readingPause;
28     private BigDecimal readRetriesLimit;
29     private BigDecimal responseTimeout;
30
31     public int getAutoReconnectPeriod() {
32         return autoReconnectPeriod;
33     }
34
35     public BigDecimal getReadingPause() {
36         return readingPause;
37     }
38
39     public BigDecimal getReadRetriesLimit() {
40         return readRetriesLimit;
41     }
42
43     public BigDecimal getResponseTimeout() {
44         return responseTimeout;
45     }
46
47     public void setAutoReconnectPeriod(int period) {
48         autoReconnectPeriod = period;
49     }
50 }