Class EssDcChargerFeneconCommercial40Pv2Impl
- java.lang.Object
-
- io.openems.edge.common.component.AbstractOpenemsComponent
-
- io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
-
- io.openems.edge.ess.fenecon.commercial40.charger.AbstractEssDcChargerFeneconCommercial40
-
- io.openems.edge.ess.fenecon.commercial40.charger.EssDcChargerFeneconCommercial40Pv2Impl
-
- All Implemented Interfaces:
ModbusComponent
,OpenemsComponent
,ModbusSlave
,EssDcCharger
,EssDcChargerFeneconCommercial40
,TimedataProvider
,org.osgi.service.event.EventHandler
public class EssDcChargerFeneconCommercial40Pv2Impl extends AbstractEssDcChargerFeneconCommercial40 implements EssDcChargerFeneconCommercial40, EssDcCharger, ModbusComponent, OpenemsComponent, org.osgi.service.event.EventHandler, TimedataProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
AbstractOpenemsModbusComponent.BitConverter, AbstractOpenemsModbusComponent.ChannelMapper<T extends AbstractModbusElement<?>>
-
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.EssDcChargerFeneconCommercial40
EssDcChargerFeneconCommercial40.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
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.service.cm.ConfigurationAdmin
cm
-
Constructor Summary
Constructors Constructor Description EssDcChargerFeneconCommercial40Pv2Impl()
-
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.Timedata
getTimedata()
Gets theTimedata
service.protected boolean
isPV1()
Is this PV1 or PV2 charger?.protected void
setModbus(BridgeModbus modbus)
Set the Modbus bridge.-
Methods inherited from class io.openems.edge.ess.fenecon.commercial40.charger.AbstractEssDcChargerFeneconCommercial40
defineModbusProtocol, getModbusSlaveTable, handleEvent
-
Methods inherited from class io.openems.edge.bridge.modbus.api.AbstractOpenemsModbusComponent
activate, activate, activate, getBridgeModbus, getModbusProtocol, getUnitId, m, m, m, m, m, m, modified, modified, 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
-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
-
-
-
Method Detail
-
setModbus
protected void setModbus(BridgeModbus modbus)
Description copied from class:AbstractOpenemsModbusComponent
Set the Modbus bridge. Should be called by @Reference- Overrides:
setModbus
in classAbstractOpenemsModbusComponent
- Parameters:
modbus
- the BridgeModbus Reference
-
deactivate
protected void deactivate()
Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsModbusComponent
-
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
- Overrides:
debugLog
in classAbstractEssDcChargerFeneconCommercial40
- Returns:
- the debug log output
-
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.
-
isPV1
protected boolean isPV1()
Description copied from class:AbstractEssDcChargerFeneconCommercial40
Is this PV1 or PV2 charger?.- Specified by:
isPV1
in classAbstractEssDcChargerFeneconCommercial40
- Returns:
- true for PV1, false for PV2
-
-