Class AbstractEssDcChargerFeneconCommercial40

java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
io.openems.edge.ess.fenecon.commercial40.charger.AbstractEssDcChargerFeneconCommercial40
All Implemented Interfaces:
ModbusComponent, OpenemsComponent, ModbusSlave, EssDcCharger, EssDcChargerFeneconCommercial40, TimedataProvider, org.osgi.service.event.EventHandler
Direct Known Subclasses:
EssDcChargerFeneconCommercial40Pv1Impl, EssDcChargerFeneconCommercial40Pv2Impl

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

    • AbstractEssDcChargerFeneconCommercial40

      public AbstractEssDcChargerFeneconCommercial40()
  • Method Details

    • isPV1

      protected abstract boolean isPV1()
      Is this PV1 or PV2 charger?.
      Returns:
      true for PV1, false for PV2
    • defineModbusProtocol

      protected ModbusProtocol defineModbusProtocol() throws OpenemsException
      Description copied from class: AbstractOpenemsModbusComponent
      Defines the Modbus protocol.
      Specified by:
      defineModbusProtocol in class AbstractOpenemsModbusComponent
      Returns:
      the ModbusProtocol
      Throws:
      OpenemsException - on error
    • 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
    • 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