]> git.basschouten.com Git - openhab-addons.git/blob
e0efc807a1f5278f2d8b99afeb4c916a52b1e469
[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.atlona.internal.pro3;
14
15 /**
16  * The {@link AtlonaPro3Binding} class defines common constants, which are
17  * used across the whole binding.
18  *
19  * @author Tim Roberts - Initial contribution
20  */
21 class AtlonaPro3Constants {
22
23     // Properties
24     static final String PROPERTY_VERSION = "version";
25     static final String PROPERTY_TYPE = "type";
26
27     static final String GROUP_PRIMARY = "primary";
28     static final String GROUP_PORT = "port";
29     static final String GROUP_MIRROR = "mirror";
30     static final String GROUP_VOLUME = "volume";
31
32     // List of all Channel ids
33     static final String CHANNEL_POWER = "power";
34     static final String CHANNEL_PANELLOCK = "panellock";
35     static final String CHANNEL_IRENABLE = "irenable";
36     static final String CHANNEL_PRESETCMDS = "presetcmd";
37     static final String CHANNEL_MATRIXCMDS = "matrixcmd";
38
39     static final String CHANNEL_PORTPOWER = "portpower";
40     static final String CHANNEL_PORTOUTPUT = "portoutput";
41
42     static final String CHANNEL_PORTMIRROR = "portmirror";
43     static final String CHANNEL_PORTMIRRORENABLED = "portmirrorenabled";
44
45     static final String CHANNEL_VOLUME = "volume";
46     static final String CHANNEL_VOLUME_MUTE = "volumemute";
47     // static final String CHANNEL_RS232 = "rs232cmd";
48
49     static final String CONFIG_HOSTNAME = "hostname";
50     static final String CONFIG_OUTPUT = "output";
51
52     // Preset commands
53     static final String CMD_PRESETSAVE = "save";
54     static final String CMD_PRESETRECALL = "recall";
55     static final String CMD_PRESETCLEAR = "clear";
56
57     // Matrix commands
58     static final String CMD_MATRIXRESET = "resetmatrix";
59     static final String CMD_MATRIXRESETPORTS = "resetports";
60     static final String CMD_MATRIXPORTALL = "allports";
61 }