]> git.basschouten.com Git - openhab-addons.git/blob
2301afc3cbb000617c761bfebd5df4043df40e2f
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.monopriceaudio.internal.communication;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * Represents the different kinds of commands
19  *
20  * @author Michael Lobstein - Initial contribution
21  */
22 @NonNullByDefault
23 public enum MonopriceAudioCommand {
24     QUERY("?"),
25     POWER("PR"),
26     SOURCE("CH"),
27     VOLUME("VO"),
28     MUTE("MU"),
29     TREBLE("TR"),
30     BASS("BS"),
31     BALANCE("BL"),
32     DND("DT");
33
34     private final String value;
35
36     MonopriceAudioCommand(String value) {
37         this.value = value;
38     }
39
40     /**
41      * Get the command name
42      *
43      * @return the command name
44      */
45     public String getValue() {
46         return value;
47     }
48 }