]> git.basschouten.com Git - openhab-addons.git/blob
aacd92956938f58478df568e85a698426d0dca86
[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.sagercaster.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link SagerCasterBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author GaĆ«l L'hopital - Initial contribution
23  */
24 @NonNullByDefault
25 public class SagerCasterBindingConstants {
26
27     public static final String BINDING_ID = "sagercaster";
28     public static final String LOCAL = "local";
29
30     // List of all Thing Type UIDs
31     public static final ThingTypeUID THING_TYPE_SAGERCASTER = new ThingTypeUID(BINDING_ID, "sagercaster");
32
33     // Configuration elements
34     public static final String CONFIG_LOCATION = "location";
35     public static final String CONFIG_PERIOD = "observation-period";
36
37     // List of all Channel Groups Group Channel ids
38     public static final String GROUP_INPUT = "input";
39     public static final String GROUP_OUTPUT = "output";
40
41     // Output channel ids
42     public static final String CHANNEL_FORECAST = "forecast";
43     public static final String CHANNEL_VELOCITY = "velocity";
44     public static final String CHANNEL_VELOCITY_BEAUFORT = "velocity-beaufort";
45     public static final String CHANNEL_WINDFROM = "wind-from";
46     public static final String CHANNEL_WINDTO = "wind-to";
47     public static final String CHANNEL_WINDEVOLUTION = "wind-evolution";
48     public static final String CHANNEL_PRESSURETREND = "pressure-trend";
49     public static final String CHANNEL_TEMPERATURETREND = "temperature-trend";
50     // Input channel ids
51     public static final String CHANNEL_CLOUDINESS = "cloudiness";
52     public static final String CHANNEL_IS_RAINING = "is-raining";
53     public static final String CHANNEL_RAIN_QTTY = "rain-qtty";
54     public static final String CHANNEL_WIND_SPEED = "wind-speed-beaufort";
55     public static final String CHANNEL_TEMPERATURE = "temperature";
56     public static final String CHANNEL_PRESSURE = "pressure";
57     public static final String CHANNEL_WIND_ANGLE = "wind-angle";
58 }