2 * Copyright (c) 2010-2023 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.yamahareceiver.internal.state;
15 import static org.openhab.binding.yamahareceiver.internal.YamahaReceiverBindingConstants.VALUE_EMPTY;
18 * The state of a specific zone of a Yamaha receiver.
20 * @author David Graeff - Initial contribution
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;