]> git.basschouten.com Git - openhab-addons.git/blob
fd9e76514053663e5d5f3400804b43247fa85a2e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2024 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.serial.internal.channel;
14
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
17
18 /**
19  * Class describing the channel user configuration
20  *
21  * @author Mike Major - Initial contribution
22  */
23 @NonNullByDefault
24 public class ChannelConfig {
25     /**
26      * Transform for received data
27      */
28     public @Nullable String stateTransformation;
29
30     /**
31      * Transform for command
32      */
33     public @Nullable String commandTransformation;
34
35     /**
36      * Format string for command
37      */
38     public @Nullable String commandFormat;
39
40     /**
41      * On value
42      */
43     public @Nullable String onValue;
44
45     /**
46      * Off value
47      */
48     public @Nullable String offValue;
49
50     /**
51      * Up value
52      */
53     public @Nullable String upValue;
54
55     /**
56      * Down value
57      */
58     public @Nullable String downValue;
59
60     /**
61      * Stop value
62      */
63     public @Nullable String stopValue;
64
65     /**
66      * Increase value
67      */
68     public @Nullable String increaseValue;
69
70     /**
71      * Decrease value
72      */
73     public @Nullable String decreaseValue;
74 }