]> git.basschouten.com Git - openhab-addons.git/blob
22bb65ae297c292730a18ab842a10f570ad16799
[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.intesis.internal.enums;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16
17 /**
18  * The {@link IntesisHomeModeEnum} contains informations for translating device modes into internally used numbers.
19  *
20  * @author Hans-Jörg Merk - Initial contribution
21  */
22 @NonNullByDefault
23 public enum IntesisHomeModeEnum {
24     AUTO(0),
25     HEAT(1),
26     DRY(2),
27     FAN(3),
28     COOL(4);
29
30     private final int mode;
31
32     private IntesisHomeModeEnum(int mode) {
33         this.mode = mode;
34     }
35
36     public int getMode() {
37         return mode;
38     }
39 }