Class GoodWeChargerTwoStringImpl

java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.goodwe.charger.twostring.GoodWeChargerTwoStringImpl
All Implemented Interfaces:
OpenemsComponent, ModbusSlave, EssDcCharger, GoodWeCharger, GoodWeChargerTwoString, TimedataProvider, org.osgi.service.event.EventHandler

public class GoodWeChargerTwoStringImpl extends AbstractOpenemsComponent implements GoodWeChargerTwoString, EssDcCharger, GoodWeCharger, OpenemsComponent, org.osgi.service.event.EventHandler, TimedataProvider, ModbusSlave
  • Constructor Details

    • GoodWeChargerTwoStringImpl

      public GoodWeChargerTwoStringImpl()
  • 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
    • getModbusSlaveTable

      public ModbusSlaveTable getModbusSlaveTable(AccessMode accessMode)
      Description copied from interface: ModbusSlave
      Gets the Modbus-Slave-Table for this OpenEMS-Component.
      Specified by:
      getModbusSlaveTable in interface ModbusSlave
      Parameters:
      accessMode - filters the Modbus-Records that should be shown
      Returns:
      the Modbus-Slave-Table
    • 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.
    • pvPort

      public PvPort pvPort()
      Description copied from interface: GoodWeChargerTwoString
      Used PV port of the GoodWe inverter.
      Specified by:
      pvPort in interface GoodWeChargerTwoString
      Returns:
      Used PV port
    • debugLog

      public final 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