Class MicroPumpOverCurrentTrouble
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.MicroPumpOverCurrentTrouble
- 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
Too much current on the pump.
Event sequence: 100 - JET_ST_OCP_ENGAGED 101 - JET_ST_OCP_CURRENTLOCATION
- 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
Modifier and TypeMethodDescriptionint
Return the raw ADC counts for the current at the time of the error.int
Return the pulse that the error was detected in.Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble
getFuelGauge, getRFIDTag, isAbort, isAborted, isClearBevPour, isClearIngPour, setAbort, 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
-
MicroPumpOverCurrentTrouble
public MicroPumpOverCurrentTrouble()
-
-
Method Details
-
getCurrentADCCount
public int getCurrentADCCount()Return the raw ADC counts for the current at the time of the error.- Returns:
- raw ADC counts for current
-
getPulseCount
public int getPulseCount()Return the pulse that the error was detected in.- Returns:
- the pulse where the error was detected
-