Class AbstractFCMPump<T extends FCMPumpConfig>

All Implemented Interfaces:
ConfigAware<T>, HandleAware, Abortable, Cancelable, Terminable, PourAvailability
Direct Known Subclasses:
FCMPump, FFMPump, FixedRatePump

public abstract class AbstractFCMPump<T extends FCMPumpConfig> extends AbstractCANPump<T>
Represents an FCM pump.
Version:
Jun-29-17
  • Field Details

  • Constructor Details

    • AbstractFCMPump

      public AbstractFCMPump(CANBoard<?> board, PumpInfo info, int subNodeId)
      Create a pump with the specified CANOpen subNodeId.
      Parameters:
      board - the board the sub-node is associated with
      info - info about the pump
      subNodeId - the CAN bus sub-node for this pump
    • AbstractFCMPump

      public AbstractFCMPump(CANBoard<?> board, PumpInfo info, int subNodeId, boolean fixedRate)
      Create a pump with the specified CANOpen subNodeId.
      Parameters:
      board - the board the sub-node is associated with
      info - info about the pump
      subNodeId - the CAN bus sub-node for this pump
      fixedRate - if true, the pump is fixed rate
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class Pump<T extends FCMPumpConfig>
    • setSlowStart

      public void setSlowStart(boolean slowStart) throws IOException
      Set the slow start flag for the fcm. Once set, all subsequent pours will ramp up to prevent uncontrolled gas out from the pump. This is primarily used on the carb fcm while purging the carb tank to prevent damage to the flow meter. This must be disabled once it is no longer needed.
      Parameters:
      slowStart - true for slow start, false for normal mode
      Throws:
      IOException - if there is an error
    • disableSlowStartAfterPour

      public boolean disableSlowStartAfterPour()
    • setCarbSolenoidEnable

      public void setCarbSolenoidEnable(boolean enable) throws IOException
      Set the carb solenoid enable flag for the carb fcm. Once set, every time before carb water can be dispensed, the solenoid valve must open first. Then after carb water dispensing finishes, the solenoid valve must close.
      Parameters:
      enable - true for enable solenoid, false for disable
      Throws:
      IOException - if there is an error