Class PumpConfig

java.lang.Object
com.tccc.kos.commons.core.service.config.ConfigBean
com.tccc.kos.ext.dispense.PumpConfig
All Implemented Interfaces:
com.tccc.kos.commons.util.ready.Ready

public class PumpConfig extends com.tccc.kos.commons.core.service.config.ConfigBean
Base class for configuration information for a given pump. Subclasses of Pump extend this class to specify attributes of the pump that can be configured using ConfigService.
Since:
1.0
Version:
2023-01-16
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the nominal flow rate of the pump.
    void
    setNominalRate(double nominalRate)
     

    Methods inherited from class com.tccc.kos.commons.core.service.config.ConfigBean

    addListener, getReady, isConfigured, removeListener, update, update

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.tccc.kos.commons.util.ready.Ready

    isReady, setReady
  • Constructor Details

    • PumpConfig

      public PumpConfig()
  • Method Details

    • getNominalRate

      public double getNominalRate()
      Returns the nominal flow rate of the pump. For valves, this should be the fixed rate of the valve, or can be adjusted via ConfigService to the desired target rate. This value is used for ingredient pours when no rate is specified, which is the normal case for valves, where the underlying hardware cannot control the flow rate. For hardware that can control the flow rate, it's common that most operations define the target flow rate.
    • setNominalRate

      public void setNominalRate(double nominalRate)