public class TableControllerConfiguration extends DropletControllerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this configuration.
|
Constructor and Description |
---|
TableControllerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
double |
getMaxDeltaFlowRate()
Maximal flow rate in ul/min for the correction of drolet height.
|
double |
getRatioHeightToVolume()
Returns the (estimated) ratio between droplet height in um and the droplet volume in ul.
|
org.youscope.plugin.dropletmicrofluidics.tablecontroller.SyringeTableRow[] |
getSyringeTableRows()
Returns a table defining when which syringe should act as an outflow or inflow syringe.
|
double |
getTargetFlowRate()
Returns the target flow rate in ul/min.
|
long |
getTimeConstantIntegral()
Returns the time constant (in ms) of the integral part of the controller.
|
long |
getTimeConstantProportional()
Returns the time constant (in ms) of the proportional part of the controller.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isCorrectByOutflow()
True if droplet height is corrected by varying outflow, false if varying inflow.
|
void |
setCorrectByOutflow(boolean correctByOutflow)
True if droplet height is corrected by varying outflow, false if varying inflow.
|
void |
setMaxDeltaFlowRate(double maxDeltaFlowRate)
Maximal flow rate in ul/min for the correction of drolet height.
|
void |
setRatioHeightToVolume(double ratioHeightToVolume)
Sets the (estimated) ratio between droplet height in um and the droplet volume in ul.
|
void |
setSyringeTableRows(org.youscope.plugin.dropletmicrofluidics.tablecontroller.SyringeTableRow[] syringeTableRows)
Sets a table defining when which syringe should act as an outflow or inflow syringe.
|
void |
setTargetFlowRate(double targetRate)
Sets the target flow rate in ul/min
|
void |
setTimeConstantIntegral(long timeConstantIntegral)
Sets the time constant (in ms) of the integral part of the controller.
|
void |
setTimeConstantProportional(long timeConstantProportional)
Sets the time constant (in ms) of the proportional part of the controller.
|
clone
public static final java.lang.String TYPE_IDENTIFIER
public boolean isCorrectByOutflow()
public void setCorrectByOutflow(boolean correctByOutflow)
correctByOutflow
- true if corrected by outflow.public double getRatioHeightToVolume()
public void setRatioHeightToVolume(double ratioHeightToVolume)
ratioHeightToVolume
- ratio height to volume.public java.lang.String getTypeIdentifier()
Configuration
public double getTargetFlowRate()
public void setTargetFlowRate(double targetRate)
targetRate
- flow rate in ul/minpublic double getMaxDeltaFlowRate()
getTargetFlowRate()
.public void setMaxDeltaFlowRate(double maxDeltaFlowRate)
getTargetFlowRate()
.maxDeltaFlowRate
- maximal correction flow rate.public long getTimeConstantProportional()
public void setTimeConstantProportional(long timeConstantProportional)
timeConstantProportional
- time constant of proportional part.public long getTimeConstantIntegral()
public void setTimeConstantIntegral(long timeConstantIntegral)
timeConstantIntegral
- time constant of integral part.public org.youscope.plugin.dropletmicrofluidics.tablecontroller.SyringeTableRow[] getSyringeTableRows()
public void setSyringeTableRows(org.youscope.plugin.dropletmicrofluidics.tablecontroller.SyringeTableRow[] syringeTableRows)
syringeTableRows
- syringe table.public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
checkConfiguration
in class ResourceConfiguration
ConfigurationException