Class BpChargerImpl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.kaco.blueplanet.hybrid10.ess.charger.BpChargerImpl
- All Implemented Interfaces:
OpenemsComponent
,ModbusSlave
,EssDcCharger
,BpCharger
,TimedataProvider
,org.osgi.service.event.EventHandler
public class BpChargerImpl
extends AbstractOpenemsComponent
implements BpCharger, EssDcCharger, OpenemsComponent, TimedataProvider, org.osgi.service.event.EventHandler, ModbusSlave
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.kaco.blueplanet.hybrid10.ess.charger.BpCharger
BpCharger.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.ess.dccharger.api.EssDcCharger
EssDcCharger.ChannelId
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.debugLog()
Gets some output that is suitable for a continuous Debug log.getModbusSlaveTable
(AccessMode accessMode) Gets the Modbus-Slave-Table for this OpenEMS-Component.Gets theTimedata
service.void
handleEvent
(org.osgi.service.event.Event event) Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, 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.kaco.blueplanet.hybrid10.ess.charger.BpCharger
_setCommunicationFailed, getCommunicationFailedChannel
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.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Field Details
-
cm
protected org.osgi.service.cm.ConfigurationAdmin cm -
core
-
-
Constructor Details
-
BpChargerImpl
public BpChargerImpl()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
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
-
getTimedata
Description copied from interface:TimedataProvider
Gets theTimedata
service.- Specified by:
getTimedata
in interfaceTimedataProvider
- Returns:
- the service or null if it is not (yet) available.
-
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
-