Class MicroPumpSPMOccludedTrouble
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.MicroPumpSPMOccludedTrouble
- 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
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
enable()
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
-
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 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
-
getPhysicalPump
public com.tccc.kos.ext.dispense.Pump<?> getPhysicalPump()Return the physical pump the error was on. -
getPhysicalPumpName
Return the physical pump name generated the trouble which may be a child pump of a super pump. -
getChildPumpName
Return the child pump name or null if not a child pump.- Returns:
- the name of the child pump
-