Class AbstractGoodWeEtCharger

All Implemented Interfaces:
ModbusComponent, OpenemsComponent, ModbusSlave, EssDcCharger, GoodWeEtCharger, TimedataProvider, org.osgi.service.event.EventHandler
Direct Known Subclasses:
GoodWeEtCharger1, GoodWeEtCharger2

public abstract class AbstractGoodWeEtCharger extends AbstractOpenemsModbusComponent implements GoodWeEtCharger, EssDcCharger, ModbusComponent, OpenemsComponent, TimedataProvider, org.osgi.service.event.EventHandler, ModbusSlave
  • Constructor Details

    • AbstractGoodWeEtCharger

      protected AbstractGoodWeEtCharger()
  • Method Details

    • getEssOrBatteryInverter

      protected abstract GoodWe getEssOrBatteryInverter()
    • defineModbusProtocol

      protected ModbusProtocol defineModbusProtocol() throws OpenemsException
      Description copied from class: AbstractOpenemsModbusComponent
      Defines the Modbus protocol.
      Specified by:
      defineModbusProtocol in class AbstractOpenemsModbusComponent
      the ModbusProtocol
      OpenemsException - on error
    • handleEvent

      public void handleEvent(org.osgi.service.event.Event event)
      Specified by:
      handleEvent in interface org.osgi.service.event.EventHandler
    • 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
      the debug log output
    • getStartAddress

      protected abstract int getStartAddress()
    • 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
      accessMode - filters the Modbus-Records that should be shown
      the Modbus-Slave-Table