]> git.basschouten.com Git - openhab-addons.git/blob
48de241ba5d2dc5c41e9826f5ba16e16b08ae526
[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.yamahamusiccast.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * The {@link YamahaMusiccastConfiguration} class contains fields mapping thing configuration parameters.
20  *
21  * @author Lennert Coopman - Initial contribution
22  * @author Florian Hotze - Add volume in decibel
23  */
24 @NonNullByDefault
25 public class YamahaMusiccastConfiguration {
26
27     public @Nullable String host;
28     public @Nullable Boolean syncVolume;
29     public @Nullable String defaultAfterMCLink;
30
31     /**
32      * Minimum allowed volume in dB.
33      */
34     public float volumeDbMin = -80f; // -80.0 dB
35     /**
36      * Maximum allowed volume in dB.
37      */
38     public float volumeDbMax = 12f; // 12.0 dB
39 }