2 * Copyright (c) 2010-2023 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.automation.pidcontroller.internal;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
19 * Constants for PID controller.
21 * @author Fabian Wolter - Initial contribution
25 public class PIDControllerConstants {
26 public static final String AUTOMATION_NAME = "pidcontroller";
27 public static final String CONFIG_INPUT_ITEM = "input";
28 public static final String CONFIG_SETPOINT_ITEM = "setpoint";
29 public static final String CONFIG_COMMAND_ITEM = "commandItem";
30 public static final String CONFIG_LOOP_TIME = "loopTime";
31 public static final String CONFIG_KP_GAIN = "kp";
32 public static final String CONFIG_KI_GAIN = "ki";
33 public static final String CONFIG_KD_GAIN = "kd";
34 public static final String CONFIG_KD_TIMECONSTANT = "kdTimeConstant";
35 public static final String CONFIG_I_MAX = "integralMaxValue";
36 public static final String CONFIG_I_MIN = "integralMinValue";
37 public static final String P_INSPECTOR = "pInspector";
38 public static final String I_INSPECTOR = "iInspector";
39 public static final String D_INSPECTOR = "dInspector";
40 public static final String E_INSPECTOR = "eInspector";
41 public static final String COMMAND = "command";