Package gda.device.evaporator
Class DummyEvaporatorPocket
java.lang.Object
gda.device.evaporator.DummyEvaporatorPocket
- All Implemented Interfaces:
EvaporatorPocket
Simulated version of an
EvaporatorPocket for use in testing and
dummy mode.-
Nested Class Summary
Nested classes/interfaces inherited from interface gda.device.evaporator.EvaporatorPocket
EvaporatorPocket.Regulation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the current to be used for current based regulationdoubleGet the emission used for emission based regulationdoublegetFlux()Get the flux used for flux based regulationgetLabel()Get the label/name of this pocketGet the current regulation modevoidsetCurrent(double current) Set the current used for current based regulation.voidsetEmission(double emission) Set the emission used for emission based regulation.voidsetFlux(double flux) Set the flux used for flux based regulation.voidSet the label/name of this pocketvoidsetRegulation(String mode) Set the regulation mode of this pocket.toString()
-
Constructor Details
-
DummyEvaporatorPocket
public DummyEvaporatorPocket()
-
-
Method Details
-
getLabel
Description copied from interface:EvaporatorPocketGet the label/name of this pocket- Specified by:
getLabelin interfaceEvaporatorPocket
-
setLabel
Description copied from interface:EvaporatorPocketSet the label/name of this pocket- Specified by:
setLabelin interfaceEvaporatorPocket- Parameters:
label- can be any arbitrary string
-
setRegulation
Description copied from interface:EvaporatorPocketSet the regulation mode of this pocket.- Specified by:
setRegulationin interfaceEvaporatorPocket- Parameters:
mode- should be one of Regulation#values()
-
getRegulation
Description copied from interface:EvaporatorPocketGet the current regulation mode- Specified by:
getRegulationin interfaceEvaporatorPocket
-
setCurrent
public void setCurrent(double current) Description copied from interface:EvaporatorPocketSet the current used for current based regulation. Has no effect until regulation is set to 'Current'- Specified by:
setCurrentin interfaceEvaporatorPocket- Parameters:
current- The current to use for regulation
-
getCurrent
public double getCurrent()Description copied from interface:EvaporatorPocketGet the current to be used for current based regulation- Specified by:
getCurrentin interfaceEvaporatorPocket
-
setEmission
public void setEmission(double emission) Description copied from interface:EvaporatorPocketSet the emission used for emission based regulation. Has no effect until regulation is set to 'Emission'- Specified by:
setEmissionin interfaceEvaporatorPocket- Parameters:
emission- The emission to use for regulation
-
getEmission
public double getEmission()Description copied from interface:EvaporatorPocketGet the emission used for emission based regulation- Specified by:
getEmissionin interfaceEvaporatorPocket
-
setFlux
public void setFlux(double flux) Description copied from interface:EvaporatorPocketSet the flux used for flux based regulation. Has no effect until regulation is set to 'Flux'- Specified by:
setFluxin interfaceEvaporatorPocket- Parameters:
flux- The flux to use for regulation
-
getFlux
public double getFlux()Description copied from interface:EvaporatorPocketGet the flux used for flux based regulation- Specified by:
getFluxin interfaceEvaporatorPocket
-
toString
-