Package com.tccc.kos.ext.freestyle
Class StandardFreestyleAssembly
java.lang.Object
com.tccc.kos.core.service.assembly.Assembly
com.tccc.kos.ext.dispense.DispenseAssembly
com.tccc.kos.ext.freestyle.FreestyleAssembly
com.tccc.kos.ext.freestyle.StandardFreestyleAssembly
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.handle.HandleAware,com.tccc.kos.commons.util.json.JsonDescriptorAware,com.tccc.kos.core.util.Loadable,com.tccc.kos.ext.dispense.pipeline.ingredient.grants.PumpOpLimitAware
Assembly that corresponds to a typical Freestyle device. This
provides a standardized way of describing the device to reusable UI
infrastructure which can minimize the effort of building the admin UI.- Since:
- 1.0
- Version:
- 2023-11-14
-
Constructor Summary
ConstructorsConstructorDescriptionStandardFreestyleAssembly(String name, com.tccc.kos.commons.util.json.JsonDescriptor descriptor) Create a new assembly with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAgitator(CartridgeAgitator agitator) Add a cartridge agitator to the assemblyvoidaddCarbTank(CarbTank carbTank) Add a carb tank to the assemblyvoidaddRemoteTray(RemoteNnsTray remoteTray) Add a remote traybooleanvoidsetAgitateBeforePour(boolean isAgitateBeforePour) voidsetCarbTank(CarbTank carbTank) voidsetCartridgeAgitators(Set<CartridgeAgitator> cartridgeAgitators) voidsetIceAgitator(IceAgitator agitator) Set the ice agitator.voidsetRemoteTrays(Set<RemoteNnsTray> remoteTrays) Methods inherited from class com.tccc.kos.ext.dispense.DispenseAssembly
addHolder, addNozzle, checkPumpOpLimits, getAllHolders, getDefaultHolders, getHolder, getHoldersByGroup, getNozzle, getPumpOpGrantLimit, setPumpOpGrantLimitMethods inherited from class com.tccc.kos.core.service.assembly.Assembly
addBoard, addToCtx, connect, getBeans, getBoards, getCtx, getDescriptor, getHandle, isCore, isInstalling, load, setDescriptor, start, started, stop, unloadMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
-
Constructor Details
-
StandardFreestyleAssembly
public StandardFreestyleAssembly(String name, com.tccc.kos.commons.util.json.JsonDescriptor descriptor) Create a new assembly with the specified name.- Parameters:
name- name of the assembly
-
-
Method Details
-
addCarbTank
Add a carb tank to the assembly -
addAgitator
Add a cartridge agitator to the assembly -
setIceAgitator
Set the ice agitator. -
addRemoteTray
Add a remote tray -
isAgitateBeforePour
public boolean isAgitateBeforePour() -
setAgitateBeforePour
public void setAgitateBeforePour(boolean isAgitateBeforePour) -
getCarbTank
-
setCarbTank
-
getIceAgitator
-
getCartridgeAgitators
-
setCartridgeAgitators
-
getRemoteTrays
-
setRemoteTrays
-