Class MicroPumpSPMOccludedTrouble

java.lang.Object
com.tccc.kos.commons.core.service.trouble.Trouble
com.tccc.kos.ext.dispense.PourAvailabilityTrouble
All Implemented Interfaces:
com.tccc.kos.commons.core.service.trouble.TroubleIface, com.tccc.kos.ext.dispense.troubles.HolderTroubleIface, com.tccc.kos.ext.dispense.troubles.NozzleTroubleIface, com.tccc.kos.ext.dispense.troubles.PumpTroubleIface

public class MicroPumpSPMOccludedTrouble extends MicroPumpNotFlowingTrouble
SPM Pump is occluded. This is for non-gs platforms only. Event sequence: 118 - JET_ST_SPM_PUMP_OCCLUDED
Version:
Aug-31-21
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.tccc.kos.commons.core.service.trouble.Trouble

    com.tccc.kos.commons.core.service.trouble.Trouble.TroubleView
  • Field Summary

    Fields inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble

    TAG_AVAILABLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    DefaultPumpErrorHandler will call this if occlusion support is enabled.
    Return the child pump name or null if not a child pump.
    double
    Return the occluded value from the pump.
    com.tccc.kos.ext.dispense.Pump<?>
    Return the physical pump the error was on.
    Return the physical pump name generated the trouble which may be a child pump of a super pump.
    void
    setAbort(boolean abort)
    Set the abort pour flag.

    Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.MicroPumpNotFlowingTrouble

    getSubNodeId, isTwoStrikeEnabled, setTwoStrikeEnabled

    Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble

    getFuelGauge, getRFIDTag, isAbort, isAborted, isClearBevPour, isClearIngPour, setAborted, toString

    Methods inherited from class com.tccc.kos.ext.dispense.PumpTrouble

    blockBeveragePour, blockIngredientPour, getHolderNames, getHolderPaths, getIngredientId, getNozzlePath, getPump, getPumpPath

    Methods inherited from class com.tccc.kos.ext.dispense.PourAvailabilityTrouble

    blockBeveragePour, blockIngredientPour, blockPour

    Methods inherited from class com.tccc.kos.commons.core.service.trouble.Trouble

    addIface, addImpacted, addLink, addTag, equals, getClientData, getCount, getCreateTime, getGroup, getId, getIfaces, getImpacted, getInfo, getLinked, getReason, getTags, getType, hashCode, incCount, isImpacted, isLinked, isResolvable, isTagged, onRemoved, removeImpacted, removeLink, removeTag, resolvable, resolve, setReason, setResolvable

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MicroPumpSPMOccludedTrouble

      public MicroPumpSPMOccludedTrouble()
  • Method Details

    • enable

      public void enable()
      DefaultPumpErrorHandler will call this if occlusion support is enabled.
    • setAbort

      public void setAbort(boolean abort)
      Description copied from class: BasePumpTrouble
      Set the abort pour flag.
      Overrides:
      setAbort in class BasePumpTrouble<AbstractMicroPump<?>>
      Parameters:
      abort - true if this trouble should abort the pour
    • getOccludedValue

      public double getOccludedValue()
      Return the occluded value from the pump.
      Returns:
      the occluded value
    • getPhysicalPump

      public com.tccc.kos.ext.dispense.Pump<?> getPhysicalPump()
      Return the physical pump the error was on.
    • getPhysicalPumpName

      public String getPhysicalPumpName()
      Return the physical pump name generated the trouble which may be a child pump of a super pump.
    • getChildPumpName

      public String getChildPumpName()
      Return the child pump name or null if not a child pump.
      Returns:
      the name of the child pump