2 * Copyright (c) 2010-2021 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.atlona.internal.pro3;
16 * The {@link AtlonaPro3Binding} class defines common constants, which are
17 * used across the whole binding.
19 * @author Tim Roberts - Initial contribution
21 class AtlonaPro3Constants {
24 static final String PROPERTY_VERSION = "version";
25 static final String PROPERTY_TYPE = "type";
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";
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";
39 static final String CHANNEL_PORTPOWER = "portpower";
40 static final String CHANNEL_PORTOUTPUT = "portoutput";
42 static final String CHANNEL_PORTMIRROR = "portmirror";
43 static final String CHANNEL_PORTMIRRORENABLED = "portmirrorenabled";
45 static final String CHANNEL_VOLUME = "volume";
46 static final String CHANNEL_VOLUME_MUTE = "volumemute";
47 // static final String CHANNEL_RS232 = "rs232cmd";
49 static final String CONFIG_HOSTNAME = "hostname";
50 static final String CONFIG_OUTPUT = "output";
53 static final String CMD_PRESETSAVE = "save";
54 static final String CMD_PRESETRECALL = "recall";
55 static final String CMD_PRESETCLEAR = "clear";
58 static final String CMD_MATRIXRESET = "resetmatrix";
59 static final String CMD_MATRIXRESETPORTS = "resetports";
60 static final String CMD_MATRIXPORTALL = "allports";