public class FlexibleControllerConfiguration extends DropletControllerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this configuration.
|
Constructor and Description |
---|
FlexibleControllerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
double |
getRatioHeightToVolume()
Returns the (estimated) ratio between droplet height in um and the droplet volume in ul.
|
org.youscope.plugin.dropletmicrofluidics.flexiblecontroller.FlexibleSyringeTableRow[] |
getSyringeTableRows()
Returns a table defining when which syringe should act as an outflow or inflow syringe.
|
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.
|
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.flexiblecontroller.FlexibleSyringeTableRow[] syringeTableRows)
Sets a table defining when which syringe should act as an outflow or inflow syringe.
|
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 double getRatioHeightToVolume()
public void setRatioHeightToVolume(double ratioHeightToVolume)
ratioHeightToVolume
- ratio height to volume.public java.lang.String getTypeIdentifier()
Configuration
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.flexiblecontroller.FlexibleSyringeTableRow[] getSyringeTableRows()
public void setSyringeTableRows(org.youscope.plugin.dropletmicrofluidics.flexiblecontroller.FlexibleSyringeTableRow[] 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