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.phc.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link PHCBinding} class defines common constants, which are used across
22 * @author Jonas Hohaus - Initial contribution
25 public class PHCBindingConstants {
27 public static final String BINDING_ID = "phc";
29 // List of all Thing Type UIDs
30 public static final ThingTypeUID THING_TYPE_BRIDGE = new ThingTypeUID(BINDING_ID, "bridge");
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");
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";
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";