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.enturno.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link EnturNoBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Michal Kloc - Initial contribution
25 public class EnturNoBindingConstants {
27 private static final String BINDING_ID = "enturno";
29 public static final String TIME_ZONE = "Europe/Oslo";
31 // List of all Thing Type UIDs
32 public static final ThingTypeUID LINESTOP = new ThingTypeUID(BINDING_ID, "linestop");
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";
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";