Interface PumpTroubleIface
- All Superinterfaces:
NozzleTroubleIface
,com.tccc.kos.commons.core.service.trouble.TroubleIface
- All Known Implementing Classes:
PumpTrouble
Interface for
Trouble
s that implements the pump iface.
This is a standard way to describe to external systems that the
Trouble
includes pump information in a standard format.
Implementations must call
PumpTroubleIface.addIface(trouble)
to ensure that
external systems know the trouble implements this interface.
This indicates the pump interface is implemented and the following data is available:
pumpPath
: Holder path of the associated pump
- Since:
- 1.0
- Version:
- 2023-02-06
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addIface
(com.tccc.kos.commons.core.service.trouble.Trouble trouble) Adds the iface to the specifiedTrouble
.Return the ingredientId assigned to the pump.Returns the path of the associated pump.Methods inherited from interface com.tccc.kos.ext.dispense.troubles.NozzleTroubleIface
getNozzlePath
-
Method Details
-
addIface
static void addIface(com.tccc.kos.commons.core.service.trouble.Trouble trouble) Adds the iface to the specifiedTrouble
. Should be called in theTrouble
constructor.- Parameters:
trouble
- the trouble to add the iface to
-
getPumpPath
String getPumpPath()Returns the path of the associated pump. -
getIngredientId
String getIngredientId()Return the ingredientId assigned to the pump.
-