]> git.basschouten.com Git - openhab-addons.git/blob
a739988abb0973aef56042a6b41f17cec40c2750
[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.smaenergymeter.internal.configuration;
14
15 /**
16  * The {@link EnergyMeterConfig} class holds the configuration properties of the binding.
17  *
18  * @author Osman Basha - Initial contribution
19  */
20 public class EnergyMeterConfig {
21
22     private String mcastGroup;
23     private Integer port;
24     private Integer pollingPeriod;
25
26     public String getMcastGroup() {
27         return mcastGroup;
28     }
29
30     public void setMcastGroup(String mcastGroup) {
31         this.mcastGroup = mcastGroup;
32     }
33
34     public Integer getPort() {
35         return port;
36     }
37
38     public void setPort(Integer port) {
39         this.port = port;
40     }
41
42     public Integer getPollingPeriod() {
43         return pollingPeriod;
44     }
45
46     public void setPollingPeriod(Integer pollingPeriod) {
47         this.pollingPeriod = pollingPeriod;
48     }
49 }