All Implemented Interfaces:
ConfigAware<LFCVPumpConfig>, HandleAware, Abortable, Cancelable, Terminable, PourAvailability

public class LFCVPump extends FixedRatePump<LFCVPumpConfig>
Represents an LFCV pump which controls a single valve.
Version:
Jul-14-22
  • Field Details

  • Constructor Details

    • LFCVPump

      public LFCVPump(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
  • Method Details

    • pumpInfo

      public static PumpInfo pumpInfo(int pos, int maxPos)
      Return default pump info for this pump.
    • getType

      public String getType()
      Overrides:
      getType in class AbstractFCMPump<LFCVPumpConfig>
    • vpour

      public FutureWork vpour(double volume, double rate)
      Convert vpour to tpour using the flow rate from pump tech data. The result is that will pour for the correct amount of time to hit the configured volume. This is particularly useful for calibration intents.
      Overrides:
      vpour in class AbstractCANPump<LFCVPumpConfig>