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.Handle
getState()
void
linkWater
(short cobId) Link water with carb agitator.void
onConfigChanged
(com.tccc.kos.commons.core.service.config.BeanChanges changes) void
setConfig
(CarbAgitatorConfig config) void
setEnabled
(boolean enabled) Change the enabled state of the carb agitator setting.com.tccc.kos.commons.util.concurrent.future.FutureWork
Perform a test agitation.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.config.ConfigAware
onConfigSet
Methods 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:
onConfigChanged
in interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-
getState
- Specified by:
getState
in 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:
getHandle
in interfacecom.tccc.kos.commons.core.service.handle.HandleAware
-
getConfig
- Specified by:
getConfig
in interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-
setConfig
- Specified by:
setConfig
in interfacecom.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
-