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 assemblybooleanvoidsetAgitateBeforePour(boolean isAgitateBeforePour) voidsetCarbAgitator(CarbAgitator carbAgitator) voidsetCartridgeAgitators(Set<CartridgeAgitator> cartridgeAgitators) voidsetIceAgitator(IceAgitator iceAgitator) 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, 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
-
addAgitator
Add a cartridge agitator to the assembly -
isAgitateBeforePour
public boolean isAgitateBeforePour() -
setAgitateBeforePour
public void setAgitateBeforePour(boolean isAgitateBeforePour) -
getCarbAgitator
-
setCarbAgitator
-
getIceAgitator
-
setIceAgitator
-
getCartridgeAgitators
-
setCartridgeAgitators
-