Class CarbAgitator
java.lang.Object
com.tccc.kos.ext.freestyle.hardware.can.subnode.carbtank.CarbAgitator
- All Implemented Interfaces:
ConfigAware<CarbAgitatorConfig>
,HandleAware
,StateAware<CarbAgitatorState>
public class CarbAgitator
extends Object
implements ConfigAware<CarbAgitatorConfig>, StateAware<CarbAgitatorState>
Agitator for carb.
- Version:
- Nov-7-17
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
void
linkWater
(short cobId) Link water with carb agitator.void
onConfigChanged
(BeanChanges changes) void
setConfig
(CarbAgitatorConfig config) void
setEnabled
(boolean enabled) Change the enabled state of the carb agitator setting.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
Perform a test agitation. -
onConfigChanged
- Specified by:
onConfigChanged
in interfaceConfigAware<CarbAgitatorConfig>
-
getState
- Specified by:
getState
in interfaceStateAware<CarbAgitatorState>
-
linkWater
Link water with carb agitator.- Throws:
IOException
- if there is an error
-
getHandle
- Specified by:
getHandle
in interfaceHandleAware
-
getConfig
- Specified by:
getConfig
in interfaceConfigAware<CarbAgitatorConfig>
-
setConfig
- Specified by:
setConfig
in interfaceConfigAware<CarbAgitatorConfig>
-