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