]> git.basschouten.com Git - openhab-addons.git/blob
742d4da528078ee7730f13ac66ef1978839a0bed
[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.digitalstrom.internal.lib.structure.devices.deviceparameters;
14
15 /**
16  * The {@link DeviceConfig} saves device configurations.
17  *
18  * @author Alexander Betker - initial contributer
19  * @author Michael Ochel - add missing java-doc
20  * @author Matthias Siegele - add missing java-doc
21  */
22 public interface DeviceConfig {
23
24     /**
25      * Returns the digitalSTROM-Device parameter class.
26      *
27      * @return configuration class
28      */
29     int getConfigurationClass();
30
31     /**
32      * Returns the digitalSTROM-Device configuration index.
33      *
34      * @return configuration index
35      */
36     int getIndex();
37
38     /**
39      * Returns the digitalSTROM-Device configuration value.
40      *
41      * @return configuration value
42      */
43     int getValue();
44 }