2 * Copyright (c) 2010-2022 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.handler;
17 * @author Fabian Wolter - Initial Contribution
19 public class PIDOutputDTO {
20 private double output;
21 private double proportionalPart;
22 private double integralPart;
23 private double derivativePart;
26 public PIDOutputDTO(double output, double proportionalPart, double integralPart, double derivativePart,
29 this.proportionalPart = proportionalPart;
30 this.integralPart = integralPart;
31 this.derivativePart = derivativePart;
35 public double getOutput() {
39 public double getProportionalPart() {
40 return proportionalPart;
43 public double getIntegralPart() {
47 public double getDerivativePart() {
48 return derivativePart;
51 public double getError() {