Class DummyEvaporatorPocket

java.lang.Object
gda.device.evaporator.DummyEvaporatorPocket
All Implemented Interfaces:
EvaporatorPocket

public class DummyEvaporatorPocket extends Object implements EvaporatorPocket
Simulated version of an EvaporatorPocket for use in testing and dummy mode.
  • Constructor Details

    • DummyEvaporatorPocket

      public DummyEvaporatorPocket()
  • Method Details

    • getLabel

      public String getLabel()
      Description copied from interface: EvaporatorPocket
      Get the label/name of this pocket
      Specified by:
      getLabel in interface EvaporatorPocket
    • setLabel

      public void setLabel(String label)
      Description copied from interface: EvaporatorPocket
      Set the label/name of this pocket
      Specified by:
      setLabel in interface EvaporatorPocket
      Parameters:
      label - can be any arbitrary string
    • setRegulation

      public void setRegulation(String mode)
      Description copied from interface: EvaporatorPocket
      Set the regulation mode of this pocket.
      Specified by:
      setRegulation in interface EvaporatorPocket
      Parameters:
      mode - should be one of Regulation#values()
    • getRegulation

      public String getRegulation()
      Description copied from interface: EvaporatorPocket
      Get the current regulation mode
      Specified by:
      getRegulation in interface EvaporatorPocket
    • setCurrent

      public void setCurrent(double current)
      Description copied from interface: EvaporatorPocket
      Set the current used for current based regulation. Has no effect until regulation is set to 'Current'
      Specified by:
      setCurrent in interface EvaporatorPocket
      Parameters:
      current - The current to use for regulation
    • getCurrent

      public double getCurrent()
      Description copied from interface: EvaporatorPocket
      Get the current to be used for current based regulation
      Specified by:
      getCurrent in interface EvaporatorPocket
    • setEmission

      public void setEmission(double emission)
      Description copied from interface: EvaporatorPocket
      Set the emission used for emission based regulation. Has no effect until regulation is set to 'Emission'
      Specified by:
      setEmission in interface EvaporatorPocket
      Parameters:
      emission - The emission to use for regulation
    • getEmission

      public double getEmission()
      Description copied from interface: EvaporatorPocket
      Get the emission used for emission based regulation
      Specified by:
      getEmission in interface EvaporatorPocket
    • setFlux

      public void setFlux(double flux)
      Description copied from interface: EvaporatorPocket
      Set the flux used for flux based regulation. Has no effect until regulation is set to 'Flux'
      Specified by:
      setFlux in interface EvaporatorPocket
      Parameters:
      flux - The flux to use for regulation
    • getFlux

      public double getFlux()
      Description copied from interface: EvaporatorPocket
      Get the flux used for flux based regulation
      Specified by:
      getFlux in interface EvaporatorPocket
    • toString

      public String toString()
      Overrides:
      toString in class Object