]> git.basschouten.com Git - openhab-addons.git/blob
6f3d9917ec26ca35f69d64dc9de11e45396c611b
[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.broadlinkthermostat.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link BroadlinkConfig} class holds the configuration properties of the thing.
19  *
20  * @author Florian Mueller - Initial contribution
21  */
22
23 @NonNullByDefault
24 public class BroadlinkConfig {
25     private String host;
26     private String macAddress;
27
28     public BroadlinkConfig() {
29         this.host = "0.0.0.0";
30         this.macAddress = "00:00:00:00";
31     }
32
33     public String getHost() {
34         return host;
35     }
36
37     public void setHost(String host) {
38         this.host = host;
39     }
40
41     public String getMacAddress() {
42         return macAddress;
43     }
44
45     public void setMacAddress(String macAddress) {
46         this.macAddress = macAddress;
47     }
48 }