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 TypeMethodDescriptionvoidenable()DefaultPumpErrorHandler will call this if occlusion support is enabled.Return the child pump name or null if not a child pump.doubleReturn 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.voidsetAbort(boolean abort) Set the abort pour flag.Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.MicroPumpNotFlowingTrouble
getSubNodeId, isTwoStrikeEnabled, setTwoStrikeEnabledMethods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble
getFuelGauge, getRFIDTag, isAbort, isAborted, isClearBevPour, isClearIngPour, setAborted, toStringMethods inherited from class com.tccc.kos.ext.dispense.PumpTrouble
blockBeveragePour, blockIngredientPour, getHolderNames, getHolderPaths, getIngredientId, getNozzlePath, getPump, getPumpPathMethods inherited from class com.tccc.kos.ext.dispense.PourAvailabilityTrouble
blockBeveragePour, blockIngredientPour, blockPourMethods 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:BasePumpTroubleSet the abort pour flag.- Overrides:
setAbortin 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
-