]> git.basschouten.com Git - openhab-addons.git/blob
a59824c6714fe5c1a8c03b2c3d3fa280ce372a07
[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.omnikinverter.internal;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.core.thing.ThingTypeUID;
17
18 /**
19  * The {@link OmnikInverterBindingConstants} class defines common constants, which are
20  * used across the whole binding.
21  *
22  * @author Hans van den Bogert - Initial contribution
23  */
24 @NonNullByDefault
25 public class OmnikInverterBindingConstants {
26
27     private static final String BINDING_ID = "omnikinverter";
28
29     // List of all Thing Type UIDs
30     public static final ThingTypeUID THING_TYPE_OMNIK = new ThingTypeUID(BINDING_ID, "omnik");
31
32     // List of all Channel ids
33     public static final String CHANNEL_CURRENT_PV1 = "currentPV1";
34     public static final String CHANNEL_CURRENT_PV2 = "currentPV2";
35     public static final String CHANNEL_CURRENT_PV3 = "currentPV3";
36
37     public static final String CHANNEL_VOLTAGE_PV1 = "voltagePV1";
38     public static final String CHANNEL_VOLTAGE_PV2 = "voltagePV2";
39     public static final String CHANNEL_VOLTAGE_PV3 = "voltagePV3";
40
41     public static final String CHANNEL_POWER = "power";
42     public static final String CHANNEL_POWER_AC1 = "powerAC1";
43     public static final String CHANNEL_POWER_AC2 = "powerAC2";
44     public static final String CHANNEL_POWER_AC3 = "powerAC3";
45
46     public static final String CHANNEL_VOLTAGE_AC1 = "voltageAC1";
47     public static final String CHANNEL_VOLTAGE_AC2 = "voltageAC2";
48     public static final String CHANNEL_VOLTAGE_AC3 = "voltageAC3";
49
50     public static final String CHANNEL_CURRENT_AC1 = "currentAC1";
51     public static final String CHANNEL_CURRENT_AC2 = "currentAC2";
52     public static final String CHANNEL_CURRENT_AC3 = "currentAC3";
53
54     public static final String CHANNEL_FREQUENCY_AC1 = "frequencyAC1";
55     public static final String CHANNEL_FREQUENCY_AC2 = "frequencyAC2";
56     public static final String CHANNEL_FREQUENCY_AC3 = "frequencyAC3";
57
58     public static final String CHANNEL_ENERGY_TODAY = "energyToday";
59
60     public static final String CHANNEL_ENERGY_TOTAL = "energyTotal";
61
62     public static final String CHANNEL_TEMPERATURE = "temperature";
63
64     public static final String CHANNEL_HOURS_TOTAL = "hoursTotal";
65 }