2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.vdr.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link VDRBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Matthias Klocke - Initial contribution
25 public class VDRBindingConstants {
27 private static final String BINDING_ID = "vdr";
29 // List of all Thing Type UIDs
30 public static final ThingTypeUID THING_TYPE_VDR = new ThingTypeUID(BINDING_ID, "vdr");
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";
51 public static final String KEY_CODE_POWER = "Power";
53 public static final String PROPERTY_VERSION = "version";