]> git.basschouten.com Git - openhab-addons.git/blob
5b95646a888fa79b87fe3e0c8f7d562a201b7b59
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.danfossairunit.internal;
14
15 import java.util.Collections;
16 import java.util.Set;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The {@link DanfossAirUnitBindingConstants} class defines common constants, which are
23  * used across the whole binding.
24  *
25  * @author Ralf Duckstein - Initial contribution
26  * @author Robert Bach - heavy refactorings
27  */
28 @NonNullByDefault
29 public class DanfossAirUnitBindingConstants {
30
31     public static String BINDING_ID = "danfossairunit";
32
33     // The only thing type UIDs
34     public static ThingTypeUID THING_TYPE_AIRUNIT = new ThingTypeUID(BINDING_ID, "airunit");
35
36     // The thing type as a set
37     public static Set<ThingTypeUID> SUPPORTED_THING_TYPES_UIDS = Collections.singleton(THING_TYPE_AIRUNIT);
38
39     // Properties
40     public static String PROPERTY_UNIT_NAME = "Unit Name";
41     public static String PROPERTY_SERIAL = "Serial Number";
42 }