Class MicroSuperPump
java.lang.Object
com.tccc.kos.ext.dispense.Pump<T>
com.tccc.kos.ext.freestyle.FreestylePump<T>
com.tccc.kos.ext.freestyle.hardware.can.subnode.pump.AbstractCANPump<T>
com.tccc.kos.ext.freestyle.hardware.can.subnode.pump.AbstractMicroPump<MicroSuperPumpConfig>
com.tccc.kos.ext.freestyle.hardware.can.subnode.pump.MicroSuperPump
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.config.ConfigAware<MicroSuperPumpConfig>
,com.tccc.kos.commons.core.service.handle.HandleAware
,com.tccc.kos.commons.util.Abortable
,com.tccc.kos.commons.util.Cancelable
,com.tccc.kos.commons.util.Terminable
,com.tccc.kos.ext.dispense.CompositePump
,com.tccc.kos.ext.dispense.PourAvailability
public class MicroSuperPump
extends AbstractMicroPump<MicroSuperPumpConfig>
implements com.tccc.kos.ext.dispense.CompositePump
Represents a super pump. A super pump is a virtual pump made up of multiple
physical pumps. We create a super pump on the fly by telling the embedded
code that our physical pumps should form a super pump which we can then send
commands to and let the embedded sort out the details.
- Version:
- Jun-15-17
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tccc.kos.ext.dispense.PourAvailability
com.tccc.kos.ext.dispense.PourAvailability.Type
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMicroSuperPump
(CANBoard<?> board, PumpInfo info, int subNodeId) Create a pump with the specified CANOpen subNodeId. -
Method Summary
Methods inherited from class com.tccc.kos.ext.freestyle.hardware.can.subnode.pump.AbstractCANPump
isAborted, toString, tpour, vpour
Methods inherited from class com.tccc.kos.ext.freestyle.FreestylePump
isFixedRatePump, setFixedRatePump
Methods inherited from class com.tccc.kos.ext.dispense.Pump
abort, cancel, getBeverageAvailabilityLock, getBeverageLocks, getBoard, getCategory, getConfig, getEffectiveIngredientId, getHandle, getHolder, getIngredientAvailabilityLock, getIngredientId, getIngredientLocks, getIntent, getLastChangedTime, getLastStartTime, getNominalRate, getNozzle, getPour, getPrevIngredientId, getUnavailableReasons, isBeveragePour, isIngredientPour, isInserted, postStop, pour, preStart, record, recordRate, setConfig, setLastStartTime, setPour, setPrevIngredientId, setUnavailableReasons, sinceLastStarted
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tccc.kos.ext.dispense.CompositePump
isComposite
Methods inherited from interface com.tccc.kos.commons.core.service.config.ConfigAware
onConfigChanged, onConfigSet
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
Methods inherited from interface com.tccc.kos.ext.dispense.PourAvailability
getAvailbilityLock
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
MicroSuperPump
Create a pump with the specified CANOpen subNodeId.- Parameters:
board
- the board the sub-node is associated withinfo
- info about the pumpsubNodeId
- the CAN bus sub-node for this pump
-
-
Method Details
-
getType
- Overrides:
getType
in classAbstractMicroPump<MicroSuperPumpConfig>
-
getPumps
- Specified by:
getPumps
in interfacecom.tccc.kos.ext.dispense.CompositePump
-