2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.nibeheatpump.internal.config;
16 * Configuration class for {@link NibeHeatPumpBinding} device.
19 * @author Pauli Anttila - Initial contribution
21 public class NibeHeatPumpConfiguration {
22 public String hostName;
24 public int readCommandsPort;
25 public int writeCommandsPort;
26 public String serialPort;
27 public int refreshInterval;
28 public boolean enableReadCommands;
29 public boolean enableWriteCommands;
30 public boolean sendAckToMODBUS40;
31 public boolean sendAckToRMU40;
32 public boolean sendAckToSMS40;
33 public String enableWriteCommandsToRegisters;
34 public int throttleTime;
37 public String toString() {
40 str += "hostName = " + hostName;
41 str += ", port = " + port;
42 str += ", readCommandsPort = " + readCommandsPort;
43 str += ", writeCommandsPort = " + writeCommandsPort;
44 str += ", serialPort = " + serialPort;
45 str += ", refreshInterval = " + refreshInterval;
46 str += ", enableReadCommands = " + enableReadCommands;
47 str += ", enableWriteCommands = " + enableWriteCommands;
48 str += ", sendAckToMODBUS40 = " + sendAckToMODBUS40;
49 str += ", sendAckToRMU40 = " + sendAckToRMU40;
50 str += ", sendAckToSMS40 = " + sendAckToSMS40;
51 str += ", enableWriteCommandsToRegisters = " + enableWriteCommandsToRegisters;
52 str += ", throttleTime = " + throttleTime;