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 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 interface com.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
    • getState

      public CarbAgitatorState getState()
      Specified by:
      getState in interface com.tccc.kos.commons.core.service.state.StateAware<CarbAgitatorState>
    • linkWater

      public void linkWater(short cobId) throws IOException
      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 interface com.tccc.kos.commons.core.service.handle.HandleAware
    • getConfig

      public CarbAgitatorConfig getConfig()
      Specified by:
      getConfig in interface com.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>
    • setConfig

      public void setConfig(CarbAgitatorConfig config)
      Specified by:
      setConfig in interface com.tccc.kos.commons.core.service.config.ConfigAware<CarbAgitatorConfig>