]> git.basschouten.com Git - openhab-addons.git/blob
9c1846ee284570d1779325b7ed447b1ae0b1e059
[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.velux.internal.things;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.velux.internal.VeluxBindingConstants;
17 import org.slf4j.Logger;
18 import org.slf4j.LoggerFactory;
19
20 /**
21  * <B>Velux</B> product representation.
22  * <P>
23  * Combined set of information describing a single Velux product.
24  *
25  * @author Guenther Schreiner - initial contribution.
26  */
27 @NonNullByDefault
28 public class VeluxGwFirmware {
29     private final Logger logger = LoggerFactory.getLogger(VeluxGwFirmware.class);
30
31     // Class internal
32
33     private String firmwareVersion = VeluxBindingConstants.UNKNOWN;
34
35     // Constructor
36
37     public VeluxGwFirmware(String firmwareVersion) {
38         logger.trace("VeluxGwFirmware() created.");
39
40         this.firmwareVersion = firmwareVersion;
41     }
42
43     public VeluxGwFirmware() {
44         logger.trace("VeluxGwFirmware(dummy) created.");
45     }
46
47     // Class access methods
48
49     public String getfirmwareVersion() {
50         return this.firmwareVersion;
51     }
52 }