Class AbstractEssFeneconCommercial40Pv
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
io.openems.edge.ess.fenecon.commercial40.charger.AbstractEssFeneconCommercial40Pv
- All Implemented Interfaces:
ModbusComponent
,OpenemsComponent
,ModbusSlave
,EssDcCharger
,EssFeneconCommercial40Pv
,TimedataProvider
,org.osgi.service.event.EventHandler
- Direct Known Subclasses:
EssFeneconCommercial40Pv1Impl
,EssFeneconCommercial40Pv2Impl
public abstract class AbstractEssFeneconCommercial40Pv
extends AbstractOpenemsModbusComponent
implements EssFeneconCommercial40Pv, EssDcCharger, ModbusComponent, OpenemsComponent, TimedataProvider, org.osgi.service.event.EventHandler, ModbusSlave
-
Nested Class Summary
Nested classes/interfaces inherited from class io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
AbstractOpenemsModbusComponent.BitConverter, AbstractOpenemsModbusComponent.ChannelMapper<ELEMENT extends ModbusElement>
Nested classes/interfaces inherited from interface io.openems.edge.ess.dccharger.api.EssDcCharger
EssDcCharger.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.ess.fenecon.commercial40.charger.EssFeneconCommercial40Pv
EssFeneconCommercial40Pv.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.bridge.modbus.api.ModbusComponent
ModbusComponent.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondebugLog()
Gets some output that is suitable for a continuous Debug log.protected ModbusProtocol
Defines the Modbus protocol.getModbusSlaveTable
(AccessMode accessMode) Gets the Modbus-Slave-Table for this OpenEMS-Component.void
handleEvent
(org.osgi.service.event.Event event) protected abstract boolean
isPV1()
Is this PV1 or PV2 charger?.Methods inherited from class io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
activate, activate, activate, deactivate, getBridgeModbus, getModbusProtocol, getUnitId, m, m, m, m, m, m, modified, modified, retryModbusCommunication, setModbus, unsetModbus
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, removeChannel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.ess.dccharger.api.EssDcCharger
_setActualEnergy, _setActualEnergy, _setActualPower, _setActualPower, _setCurrent, _setCurrent, _setMaxActualPower, _setMaxActualPower, _setVoltage, _setVoltage, getActualEnergy, getActualEnergyChannel, getActualPower, getActualPowerChannel, getCurrent, getCurrentChannel, getMaxActualPower, getMaxActualPowerChannel, getVoltage, getVoltageChannel
Methods inherited from interface io.openems.edge.bridge.modbus.api.ModbusComponent
_setModbusCommunicationFailed, getModbusCommunicationFailed, getModbusCommunicationFailedChannel, retryModbusCommunication
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
Methods inherited from interface io.openems.edge.timedata.api.TimedataProvider
getTimedata
-
Constructor Details
-
AbstractEssFeneconCommercial40Pv
public AbstractEssFeneconCommercial40Pv()
-
-
Method Details
-
isPV1
protected abstract boolean isPV1()Is this PV1 or PV2 charger?.- Returns:
- true for PV1, false for PV2
-
defineModbusProtocol
Description copied from class:AbstractOpenemsModbusComponent
Defines the Modbus protocol.- Specified by:
defineModbusProtocol
in classAbstractOpenemsModbusComponent
- Returns:
- the ModbusProtocol
- Throws:
OpenemsException
- on error
-
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 interfaceOpenemsComponent
- Returns:
- the debug log output
-
handleEvent
public void handleEvent(org.osgi.service.event.Event event) - Specified by:
handleEvent
in interfaceorg.osgi.service.event.EventHandler
-
getModbusSlaveTable
Description copied from interface:ModbusSlave
Gets the Modbus-Slave-Table for this OpenEMS-Component.- Specified by:
getModbusSlaveTable
in interfaceModbusSlave
- Parameters:
accessMode
- filters the Modbus-Records that should be shown- Returns:
- the Modbus-Slave-Table
-