]> git.basschouten.com Git - openhab-addons.git/blob
b265c3aa18cd380bfdc03c18b9cebc0c7349a2f4
[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.kostalinverter.internal.thirdgeneration;
14
15 /***
16  * The {@link ThirdGenerationChannelMappingToWebApi}} is used to map the channel name to the web API commands
17  *
18  * @author RenĂ© Stakemeier - Initial contribution
19  *
20  */
21 class ThirdGenerationChannelMappingToWebApi {
22
23     String channelUID;
24     String moduleId;
25     String processdataId;
26     ThirdGenerationChannelDatatypes dataType;
27
28     /**
29      * Constructor of {@link ThirdGenerationChannelMappingToWebApi}
30      *
31      * @param channelUID The channel UUID
32      * @param moduleId module id (as defined by the web api)
33      * @param processdataId process data id (as defined by the web api)
34      * @param dataType data type of this channel
35      */
36     ThirdGenerationChannelMappingToWebApi(String channelUID, String moduleId, String processdataId,
37             ThirdGenerationChannelDatatypes dataType) {
38         this.channelUID = channelUID;
39         this.moduleId = moduleId;
40         this.processdataId = processdataId;
41         this.dataType = dataType;
42     }
43 }