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
ConstructorsConstructorDescriptionCreate a new assembly with the specified name.StandardFreestyleAssembly(String name, com.tccc.kos.commons.util.json.JsonDescriptor descriptor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAgitator(CartridgeAgitator agitator) Add a cartridge agitator to the assemblyvoidaddRemoteTray(RemoteNnsTray remoteTray) Add a remote traybooleanvoidsetAgitateBeforePour(boolean isAgitateBeforePour) voidsetCarbTank(CarbTank carbTank) Add a carb tank to the assemblyvoidsetCartridgeAgitators(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
@Deprecated public StandardFreestyleAssembly(String name, com.tccc.kos.commons.util.json.JsonDescriptor descriptor) Deprecated.Create a new assembly with the specified name and descriptor. This exists for backward compatibility and the descriptor will not be used.- Parameters:
name- name of the assemblydescriptor- the descriptor
-
StandardFreestyleAssembly
Create a new assembly with the specified name.- Parameters:
name- name of the assembly
-
-
Method Details
-
setCarbTank
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
-
getIceAgitator
-
getCartridgeAgitators
-
setCartridgeAgitators
-
getRemoteTrays
-
setRemoteTrays
-