java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.kaco.blueplanet.hybrid10.vectis.VectisImpl
All Implemented Interfaces:
OpenemsComponent, Vectis, AsymmetricMeter, SymmetricMeter, TimedataProvider, org.osgi.service.event.EventHandler

public class VectisImpl extends AbstractOpenemsComponent implements Vectis, SymmetricMeter, AsymmetricMeter, OpenemsComponent, TimedataProvider, org.osgi.service.event.EventHandler
  • Field Details

    • core

      protected BpCore core
    • cm

      protected org.osgi.service.cm.ConfigurationAdmin cm
  • Constructor Details

    • VectisImpl

      public VectisImpl()
  • Method Details

    • deactivate

      protected void deactivate()
      Description copied from class: AbstractOpenemsComponent
      Handles @Deactivate of implementations. Prints log output.
      Overrides:
      deactivate in class AbstractOpenemsComponent
    • handleEvent

      public void handleEvent(org.osgi.service.event.Event event)
      Specified by:
      handleEvent in interface org.osgi.service.event.EventHandler
    • debugLog

      public String debugLog()
      Description copied from interface: OpenemsComponent
      Gets some output that is suitable for a continuous Debug log. Returns 'null' by default which causes no output.
      Specified by:
      debugLog in interface OpenemsComponent
      Returns:
      the debug log output
    • getMeterType

      public MeterType getMeterType()
      Description copied from interface: SymmetricMeter
      Gets the type of this Meter.
      Specified by:
      getMeterType in interface SymmetricMeter
      Returns:
      the MeterType
    • getTimedata

      public Timedata getTimedata()
      Description copied from interface: TimedataProvider
      Gets the Timedata service.
      Specified by:
      getTimedata in interface TimedataProvider
      Returns:
      the service or null if it is not (yet) available.