]> git.basschouten.com Git - openhab-addons.git/blob
b95c58e01c7f87b55e8b4341c50801a4ec68dc52
[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.yamahareceiver.internal.state;
14
15 import static org.openhab.binding.yamahareceiver.internal.YamahaReceiverBindingConstants.VALUE_EMPTY;
16
17 /**
18  * The state of a specific zone of a Yamaha receiver.
19  *
20  * @author David Graeff - Initial contribution
21  */
22 public class ZoneControlState {
23     public boolean power = false;
24     // User visible name of the input channel for the current zone
25     public String inputName = VALUE_EMPTY;
26     // The ID of the input channel that is used as xml tags (for example NET_RADIO, HDMI_1).
27     // This may differ from what the AVR returns in Input/Input_Sel ("NET RADIO", "HDMI1")
28     public String inputID = VALUE_EMPTY;
29     public String surroundProgram = VALUE_EMPTY;
30     public float volumeDB = 0.0f; // volume in dB
31     public boolean mute = false;
32     public int dialogueLevel = 0;
33     public boolean hdmi1Out = false;
34     public boolean hdmi2Out = false;
35 }