]> git.basschouten.com Git - openhab-addons.git/blob
003e3afb06c2c3f3b893c51d932e934cb3061f8c
[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
14 package org.openhab.binding.touchwand.internal.dto;
15
16 /**
17  * The {@link TouchWandBSensorUnitData} implements BSensor units property.
18  *
19  * @author Roie Geron - Initial contribution
20  */
21 public class TouchWandBSensorUnitData extends TouchWandUnitData {
22
23     private String currStatus = "";
24
25     private IdData idData;
26
27     @Override
28     public String getCurrStatus() {
29         if (currStatus == null) {
30             currStatus = new String("");
31         }
32         return currStatus;
33     }
34
35     public void setCurrStatus(String currStatus) {
36         this.currStatus = currStatus;
37     }
38
39     public IdData getIdData() {
40         return idData;
41     }
42
43     public void setIdData(IdData idData) {
44         this.idData = idData;
45     }
46 }