]> git.basschouten.com Git - openhab-addons.git/blob
a6bba83570babea329275d06c41795996f0aff79
[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.sonyprojector.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link SonyProjectorBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Markus Wehrle - Initial contribution
23  * @author Laurent Garnier - Added channels and a new thing type
24  */
25 @NonNullByDefault
26 public class SonyProjectorBindingConstants {
27
28     private static final String BINDING_ID = "sonyprojector";
29
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");
34
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";
66     public static final String CHANNEL_IR_COMMAND = "ircommand";
67 }