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.sonyprojector.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
19 * The {@link SonyProjectorBindingConstants} class defines common constants, which are
20 * used across the whole binding.
22 * @author Markus Wehrle - Initial contribution
23 * @author Laurent Garnier - Added channels and a new thing type
26 public class SonyProjectorBindingConstants {
28 private static final String BINDING_ID = "sonyprojector";
30 // List of all Thing Type UIDs
31 public static final ThingTypeUID THING_TYPE_ETHERNET = new ThingTypeUID(BINDING_ID, "ethernetconnection");
32 public static final ThingTypeUID THING_TYPE_SERIAL = new ThingTypeUID(BINDING_ID, "serialconnection");
33 public static final ThingTypeUID THING_TYPE_SERIAL_OVER_IP = new ThingTypeUID(BINDING_ID, "serialoveripconnection");
35 // List of all Channel ids
36 public static final String CHANNEL_POWER = "power";
37 public static final String CHANNEL_POWERSTATE = "powerstate";
38 public static final String CHANNEL_INPUT = "input";
39 public static final String CHANNEL_CALIBRATION_PRESET = "calibrationpreset";
40 public static final String CHANNEL_CONTRAST = "contrast";
41 public static final String CHANNEL_BRIGHTNESS = "brightness";
42 public static final String CHANNEL_COLOR = "color";
43 public static final String CHANNEL_HUE = "hue";
44 public static final String CHANNEL_SHARPNESS = "sharpness";
45 public static final String CHANNEL_COLOR_TEMP = "colortemperature";
46 public static final String CHANNEL_IRIS_MODE = "irismode";
47 public static final String CHANNEL_IRIS_MANUAL = "irismanual";
48 public static final String CHANNEL_IRIS_SENSITIVITY = "irissensitivity";
49 public static final String CHANNEL_LAMP_CONTROL = "lampcontrol";
50 public static final String CHANNEL_FILM_PROJECTION = "filmprojection";
51 public static final String CHANNEL_MOTION_ENHANCER = "motionenhancer";
52 public static final String CHANNEL_CONTRAST_ENHANCER = "contrastenhancer";
53 public static final String CHANNEL_FILM_MODE = "filmmode";
54 public static final String CHANNEL_GAMMA_CORRECTION = "gammacorrection";
55 public static final String CHANNEL_COLOR_SPACE = "colorspace";
56 public static final String CHANNEL_NR = "nr";
57 public static final String CHANNEL_BLOCK_NR = "blocknr";
58 public static final String CHANNEL_MOSQUITO_NR = "mosquitonr";
59 public static final String CHANNEL_MPEG_NR = "mpegnr";
60 public static final String CHANNEL_XVCOLOR = "xvcolor";
61 public static final String CHANNEL_PICTURE_MUTING = "picturemuting";
62 public static final String CHANNEL_ASPECT = "aspect";
63 public static final String CHANNEL_OVERSCAN = "overscan";
64 public static final String CHANNEL_PICTURE_POSITION = "pictureposition";
65 public static final String CHANNEL_LAMP_USE_TIME = "lampusetime";