public class DropletControllerResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
DropletControllerResult(double[] flowRates,
double deltaFlow)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DropletControllerResult |
clone() |
double |
getDeltaFlow()
Returns the difference between target flow rate and actual flow rates.
|
double |
getFlowRate(int flowUnit)
Returns the flow rate in ul/min of the given flow unit.
|
double[] |
getFlowRates()
Returns the flow rates in ul/min.
|
int |
getNumFlowUnits()
Returns the number of flow units.
|
public DropletControllerResult(double[] flowRates, double deltaFlow)
flowRates
- The flow rates of the flow units, in ul/mindeltaFlow
- Difference of target inflow, respectively outflow rates, and actual outflow rate to correct for droplet height (i.e. controller output).public DropletControllerResult clone()
clone
in class java.lang.Object
public double getDeltaFlow()
public double[] getFlowRates()
public double getFlowRate(int flowUnit) throws java.lang.IndexOutOfBoundsException
flowUnit
- ID of the flow unit.java.lang.IndexOutOfBoundsException
- Thrown if flowUnit ID small zero or greater equal getNumFlowUnits()
public int getNumFlowUnits()