Class CarbAgitator
java.lang.Object
com.tccc.kos.ext.freestyle.hardware.can.subnode.carbtank.CarbAgitator
- All Implemented Interfaces:
com.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>,com.tccc.kos.commons.core.service.handle.HandleAware,com.tccc.kos.commons.core.service.state.StateAware<CarbAgitatorState>
public class CarbAgitator
extends Object
implements com.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>, com.tccc.kos.commons.core.service.state.StateAware<CarbAgitatorState>
Agitator for carb.
- Version:
- Nov-7-17
-
Method Summary
Modifier and TypeMethodDescriptioncom.tccc.kos.commons.core.service.handle.HandlegetState()voidlinkWater(short cobId) Link water with carb agitator.voidonConfigChanged(com.tccc.kos.commons.core.service.config.BeanChanges changes) voidsetConfig(CarbAgitatorConfig config) voidsetEnabled(boolean enabled) Change the enabled state of the carb agitator setting.com.tccc.kos.commons.util.concurrent.future.FutureWorkPerform a test agitation.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.commons.core.service.config.ConfigAware
onConfigSetMethods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) Change the enabled state of the carb agitator setting. -
testAgitation
public com.tccc.kos.commons.util.concurrent.future.FutureWork testAgitation()Perform a test agitation. -
onConfigChanged
public void onConfigChanged(com.tccc.kos.commons.core.service.config.BeanChanges changes) - Specified by:
onConfigChangedin interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-
getState
- Specified by:
getStatein interfacecom.tccc.kos.commons.core.service.state.StateAware<CarbAgitatorState>
-
linkWater
Link water with carb agitator.- Throws:
IOException- if there is an error
-
getHandle
public com.tccc.kos.commons.core.service.handle.Handle getHandle()- Specified by:
getHandlein interfacecom.tccc.kos.commons.core.service.handle.HandleAware
-
getConfig
- Specified by:
getConfigin interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-
setConfig
- Specified by:
setConfigin interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-