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 TypeMethodDescriptionvoid
addAgitator
(CartridgeAgitator agitator) Add a cartridge agitator to the assemblyvoid
addCarbTank
(CarbTank carbTank) Add a carb tank to the assemblyvoid
addRemoteTray
(RemoteNnsTray remoteTray) Add a remote trayboolean
void
setAgitateBeforePour
(boolean isAgitateBeforePour) void
setCarbTank
(CarbTank carbTank) void
setCartridgeAgitators
(Set<CartridgeAgitator> cartridgeAgitators) void
setIceAgitator
(IceAgitator agitator) Set the ice agitator.void
setRemoteTrays
(Set<RemoteNnsTray> remoteTrays) Methods inherited from class com.tccc.kos.ext.dispense.DispenseAssembly
addHolder, addNozzle, checkPumpOpLimits, getAllHolders, getDefaultHolders, getHolder, getHoldersByGroup, getNozzle, getPumpOpGrantLimit, setPumpOpGrantLimit
Methods 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, unload
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-