Class MicroPumpOccludedTrouble
java.lang.Object
com.tccc.kos.commons.core.service.trouble.Trouble
com.tccc.kos.ext.dispense.PourAvailabilityTrouble
com.tccc.kos.ext.dispense.PumpTrouble
com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble<T>
com.tccc.kos.ext.freestyle.hardware.can.troubles.CANPumpTrouble<AbstractMicroPump<?>>
com.tccc.kos.ext.freestyle.hardware.can.troubles.MicroPumpNotFlowingTrouble
com.tccc.kos.ext.freestyle.hardware.can.troubles.MicroPumpOccludedTrouble
- 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
Pump is occluded.
Event sequence: 36 - JET_ST_PUMP_NOT_FLOWING 63 - JET_ST_PUMP_OCCLUDED
- Version:
- Oct-31-17
-
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 -
Method Summary
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
-
Constructor Details
-
MicroPumpOccludedTrouble
public MicroPumpOccludedTrouble()
-
-
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 classBasePumpTrouble<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
-