]> git.basschouten.com Git - openhab-addons.git/blob
cc93474a069bffabab5aea6a0c588a2502b9496e
[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.phc.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link PHCBinding} class defines common constants, which are used across
20  * the whole binding.
21  *
22  * @author Jonas Hohaus - Initial contribution
23  */
24 @NonNullByDefault
25 public class PHCBindingConstants {
26
27     public static final String BINDING_ID = "phc";
28
29     // List of all Thing Type UIDs
30     public static final ThingTypeUID THING_TYPE_BRIDGE = new ThingTypeUID(BINDING_ID, "bridge");
31
32     public static final ThingTypeUID THING_TYPE_AM = new ThingTypeUID(BINDING_ID, "AM");
33     public static final ThingTypeUID THING_TYPE_EM = new ThingTypeUID(BINDING_ID, "EM");
34     public static final ThingTypeUID THING_TYPE_JRM = new ThingTypeUID(BINDING_ID, "JRM");
35     public static final ThingTypeUID THING_TYPE_DIM = new ThingTypeUID(BINDING_ID, "DIM");
36
37     // List of all Channel Group IDs
38     public static final String CHANNELS_AM = "am";
39     public static final String CHANNELS_EM = "em";
40     public static final String CHANNELS_EM_LED = "emLed";
41     public static final String CHANNELS_JRM = "jrm";
42     public static final String CHANNELS_JRM_TIME = "jrmT";
43     public static final String CHANNELS_DIM = "dim";
44
45     // List of all configuration parameters
46     public static final String PORT = "port";
47     public static final String ADDRESS = "address";
48     public static final String UP_DOWN_TIME_1 = "upDownTime1";
49     public static final String UP_DOWN_TIME_2 = "upDownTime2";
50     public static final String UP_DOWN_TIME_3 = "upDownTime3";
51     public static final String UP_DOWN_TIME_4 = "upDownTime4";
52     public static final String DIM_TIME_1 = "dimTime1";
53     public static final String DIM_TIME_2 = "dimTime2";
54 }