Class PumpDeliveryTrouble
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<AbstractCANPump<?>>
com.tccc.kos.ext.freestyle.hardware.can.troubles.PumpDeliveryTrouble
- 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
- Direct Known Subclasses:
FCMPumpOverDeliveryTrouble,FCMPumpUnderDeliveryTrouble,MicroPumpOverDeliveryTrouble,MicroPumpUnderDeliveryTrouble,MSVPumpOverDeliveryTrouble,MSVPumpUnderDeliveryTrouble,PumpFoldBackTrouble
Pump is delivering at a higher rate than requested.
Event sequence: 37/45/59 - JET_ST_RATE_ERROR_UNDERDELIVERY /
JET_ST_RATE_ERROR_OVERDELIVERY / JET_ST_FOLD_BACK_UNDERDELIVERY 52 -
JET_ST_INFO_MANIFOLD_VOLUME 53 - JET_ST_INFO_PUMP_TIME 54 -
JET_ST_INFO_PUMP_VOLUME
- 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 TypeMethodDescriptiondoubleGet the difference in expected volume in ml.doubleReturn the manifold volume at the time of the error in ml.intReturn the pump time at the time of the error in ms.doubleReturn the volume pumped by the pump at the time of the error in ml.voidsetDeltaVolume(double deltaVolume) voidsetManifoldVolume(double manifoldVolume) voidsetPumpTime(int pumpTime) voidsetPumpVolume(double pumpVolume) Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.troubles.BasePumpTrouble
getFuelGauge, getRFIDTag, isAbort, isAborted, isClearBevPour, isClearIngPour, setAbort, 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
-
PumpDeliveryTrouble
public PumpDeliveryTrouble()
-
-
Method Details
-
getDeltaVolume
public double getDeltaVolume()Get the difference in expected volume in ml.- Returns:
- difference in expected volume
-
getManifoldVolume
public double getManifoldVolume()Return the manifold volume at the time of the error in ml.- Returns:
- manifold volume at time of error
-
getPumpTime
public int getPumpTime()Return the pump time at the time of the error in ms.- Returns:
- how many ms the pump pumped at the time of the error
-
getPumpVolume
public double getPumpVolume()Return the volume pumped by the pump at the time of the error in ml.- Returns:
- the volume pumped by the pump at the time of the error
-
setDeltaVolume
public void setDeltaVolume(double deltaVolume) -
setManifoldVolume
public void setManifoldVolume(double manifoldVolume) -
setPumpTime
public void setPumpTime(int pumpTime) -
setPumpVolume
public void setPumpVolume(double pumpVolume)
-