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
-
-
Constructor Summary
Constructors Constructor Description BpChargerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deactivate()
Handles @Deactivate of implementations.java.lang.String
debugLog()
Gets some output that is suitable for a continuous Debug log.ModbusSlaveTable
getModbusSlaveTable(AccessMode accessMode)
Gets the Modbus-Slave-Table for this OpenEMS-Component.Timedata
getTimedata()
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 Detail
-
cm
protected org.osgi.service.cm.ConfigurationAdmin cm
-
core
protected BpCore core
-
-
Method Detail
-
deactivate
protected void deactivate()
Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
debugLog
public java.lang.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 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
public Timedata 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
public ModbusSlaveTable getModbusSlaveTable(AccessMode accessMode)
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
-
-