]> git.basschouten.com Git - openhab-addons.git/blob
1d52bcff6113465adad0fbdc4b638b91ae3c65f7
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.guntamatic.internal;
14
15 import java.util.Arrays;
16 import java.util.List;
17
18 import org.eclipse.jdt.annotation.NonNullByDefault;
19 import org.openhab.core.thing.ThingTypeUID;
20
21 /**
22  * The {@link GuntamaticBindingConstants} class defines common constants, which are
23  * used across the whole binding.
24  *
25  * @author Weger Michael - Initial contribution
26  */
27 @NonNullByDefault
28 public class GuntamaticBindingConstants {
29
30     public static final String BINDING_ID = "guntamatic";
31
32     // List of all Thing Type UIDs
33     public static final ThingTypeUID THING_TYPE_BIOSTAR = new ThingTypeUID(BINDING_ID, "biostar");
34     public static final ThingTypeUID THING_TYPE_POWERCHIP = new ThingTypeUID(BINDING_ID, "powerchip");
35     public static final ThingTypeUID THING_TYPE_POWERCORN = new ThingTypeUID(BINDING_ID, "powercorn");
36     public static final ThingTypeUID THING_TYPE_BIOCOM = new ThingTypeUID(BINDING_ID, "biocom");
37     public static final ThingTypeUID THING_TYPE_PRO = new ThingTypeUID(BINDING_ID, "pro");
38     public static final ThingTypeUID THING_TYPE_THERM = new ThingTypeUID(BINDING_ID, "therm");
39
40     // List of all Channel ids
41     public static final String CHANNEL_CONTROLBOILERAPPROVAL = "controlBoilerApproval";
42     public static final String CHANNEL_CONTROLPROGRAM = "controlProgram";
43     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM0 = "controlHeatCircProgram0";
44     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM1 = "controlHeatCircProgram1";
45     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM2 = "controlHeatCircProgram2";
46     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM3 = "controlHeatCircProgram3";
47     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM4 = "controlHeatCircProgram4";
48     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM5 = "controlHeatCircProgram5";
49     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM6 = "controlHeatCircProgram6";
50     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM7 = "controlHeatCircProgram7";
51     public static final String CHANNEL_CONTROLHEATCIRCPROGRAM8 = "controlHeatCircProgram8";
52     public static final String CHANNEL_CONTROLWWHEAT0 = "controlWwHeat0";
53     public static final String CHANNEL_CONTROLWWHEAT1 = "controlWwHeat1";
54     public static final String CHANNEL_CONTROLWWHEAT2 = "controlWwHeat2";
55     public static final String CHANNEL_CONTROLEXTRAWWHEAT0 = "controlExtraWwHeat0";
56     public static final String CHANNEL_CONTROLEXTRAWWHEAT1 = "controlExtraWwHeat1";
57     public static final String CHANNEL_CONTROLEXTRAWWHEAT2 = "controlExtraWwHeat2";
58
59     public static final List<String> CHANNELIDS = Arrays.asList(CHANNEL_CONTROLBOILERAPPROVAL, CHANNEL_CONTROLPROGRAM,
60             CHANNEL_CONTROLHEATCIRCPROGRAM0, CHANNEL_CONTROLHEATCIRCPROGRAM1, CHANNEL_CONTROLHEATCIRCPROGRAM2,
61             CHANNEL_CONTROLHEATCIRCPROGRAM3, CHANNEL_CONTROLHEATCIRCPROGRAM4, CHANNEL_CONTROLHEATCIRCPROGRAM5,
62             CHANNEL_CONTROLHEATCIRCPROGRAM6, CHANNEL_CONTROLHEATCIRCPROGRAM7, CHANNEL_CONTROLHEATCIRCPROGRAM8,
63             CHANNEL_CONTROLWWHEAT0, CHANNEL_CONTROLWWHEAT1, CHANNEL_CONTROLWWHEAT2, CHANNEL_CONTROLEXTRAWWHEAT0,
64             CHANNEL_CONTROLEXTRAWWHEAT1, CHANNEL_CONTROLEXTRAWWHEAT2);
65
66     public static final String PARAMETER_BOILERAPPROVAL = "boilerApproval";
67     public static final String PARAMETER_PROGRAM = "program";
68     public static final String PARAMETER_HEATCIRCPROGRAM = "heatCircProgram";
69     public static final String PARAMETER_WWHEAT = "wwHeat";
70     public static final String PARAMETER_EXTRAWWHEAT = "extraWwHeat";
71
72     public static final String DAQDATA_URL = "/daqdata.cgi";
73     public static final String DAQDESC_URL = "/daqdesc.cgi";
74     public static final String DAQEXTDESC_URL = "/ext/daqdesc.cgi";
75     public static final String PARSET_URL = "/ext/parset.cgi";
76 }