2 * Copyright (c) 2010-2024 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.serial.internal.channel;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jdt.annotation.Nullable;
19 * Class describing the channel user configuration
21 * @author Mike Major - Initial contribution
24 public class ChannelConfig {
26 * Transform for received data
28 public @Nullable String stateTransformation;
31 * Transform for command
33 public @Nullable String commandTransformation;
36 * Format string for command
38 public @Nullable String commandFormat;
43 public @Nullable String onValue;
48 public @Nullable String offValue;
53 public @Nullable String upValue;
58 public @Nullable String downValue;
63 public @Nullable String stopValue;
68 public @Nullable String increaseValue;
73 public @Nullable String decreaseValue;