]> git.basschouten.com Git - openhab-addons.git/blob
d30e5b9a547243dd31fd71d14a48607a2978972e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.vdr.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link VDRBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Matthias Klocke - Initial contribution
23  */
24 @NonNullByDefault
25 public class VDRBindingConstants {
26
27     private static final String BINDING_ID = "vdr";
28
29     // List of all Thing Type UIDs
30     public static final ThingTypeUID THING_TYPE_VDR = new ThingTypeUID(BINDING_ID, "vdr");
31
32     public static final String CHANNEL_UID_POWER = "power";
33     public static final String CHANNEL_UID_MESSAGE = "message";
34     public static final String CHANNEL_UID_CHANNEL = "channel";
35     public static final String CHANNEL_UID_CHANNEL_NAME = "channelName";
36     public static final String CHANNEL_UID_VOLUME = "volume";
37     public static final String CHANNEL_UID_KEYCODE = "keyCode";
38     public static final String CHANNEL_UID_RECORDING = "recording";
39     public static final String CHANNEL_UID_DISKUSAGE = "diskUsage";
40     public static final String CHANNEL_UID_CURRENT_EVENT_TITLE = "currentEventTitle";
41     public static final String CHANNEL_UID_CURRENT_EVENT_SUBTITLE = "currentEventSubTitle";
42     public static final String CHANNEL_UID_CURRENT_EVENT_DURATION = "currentEventDuration";
43     public static final String CHANNEL_UID_CURRENT_EVENT_BEGIN = "currentEventBegin";
44     public static final String CHANNEL_UID_CURRENT_EVENT_END = "currentEventEnd";
45     public static final String CHANNEL_UID_NEXT_EVENT_TITLE = "nextEventTitle";
46     public static final String CHANNEL_UID_NEXT_EVENT_SUBTITLE = "nextEventSubTitle";
47     public static final String CHANNEL_UID_NEXT_EVENT_DURATION = "nextEventDuration";
48     public static final String CHANNEL_UID_NEXT_EVENT_BEGIN = "nextEventBegin";
49     public static final String CHANNEL_UID_NEXT_EVENT_END = "nextEventEnd";
50
51     public static final String KEY_CODE_POWER = "Power";
52
53     public static final String PROPERTY_VERSION = "version";
54 }