]> git.basschouten.com Git - openhab-addons.git/blob
33fa5f26bf9806f687393e1ae388c2e370ee98b2
[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.enturno.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link EnturNoBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Michal Kloc - Initial contribution
23  */
24 @NonNullByDefault
25 public class EnturNoBindingConstants {
26
27     private static final String BINDING_ID = "enturno";
28
29     public static final String TIME_ZONE = "Europe/Oslo";
30
31     // List of all Thing Type UIDs
32     public static final ThingTypeUID LINESTOP = new ThingTypeUID(BINDING_ID, "linestop");
33
34     // List of all channel groups
35     public static final String CHANNEL_GROUP_STOP_PLACE = "stopPlace";
36     public static final String CHANNEL_GROUP_DIRECTION_1 = "Direction01";
37     public static final String CHANNEL_GROUP_DIRECTION_2 = "Direction02";
38
39     // List of all channels
40     public static final String CHANNEL_STOP_ID = "id";
41     public static final String CHANNEL_STOP_NAME = "name";
42     public static final String CHANNEL_STOP_TRANSPORT_MODE = "transportMode";
43     public static final String CHANNEL_LINE_CODE = "lineCode";
44     public static final String CHANNEL_DEPARTURE_01 = "departure01";
45     public static final String CHANNEL_DEPARTURE_02 = "departure02";
46     public static final String CHANNEL_DEPARTURE_03 = "departure03";
47     public static final String CHANNEL_DEPARTURE_04 = "departure04";
48     public static final String CHANNEL_DEPARTURE_05 = "departure05";
49     public static final String ESTIMATED_FLAG_01 = "estimatedFlag01";
50     public static final String ESTIMATED_FLAG_02 = "estimatedFlag02";
51     public static final String ESTIMATED_FLAG_03 = "estimatedFlag03";
52     public static final String ESTIMATED_FLAG_04 = "estimatedFlag04";
53     public static final String ESTIMATED_FLAG_05 = "estimatedFlag05";
54     public static final String CHANNEL_FRONT_DISPLAY = "frontDisplayText";
55 }