public class KebaKeContact extends AbstractOpenemsComponent implements ManagedEvcs, Evcs, OpenemsComponent, org.osgi.service.event.EventHandler, ModbusSlave
ManagedEvcs.ChannelId
Modifier and Type | Field and Description |
---|---|
protected io.openems.edge.evcs.keba.kecontact.Config |
config |
static int |
UDP_PORT |
Constructor and Description |
---|
KebaKeContact()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
deactivate()
Handles @Deactivate of implementations.
|
java.lang.String |
debugLog()
Gets some output that is suitable for a continuous Debug log.
|
EvcsPower |
getEvcsPower() |
ModbusSlaveTable |
getModbusSlaveTable(AccessMode accessMode)
Gets the Modbus-Slave-Table for this OpenEMS-Component.
|
ReadHandler |
getReadHandler() |
ReadWorker |
getReadWorker() |
void |
handleEvent(org.osgi.service.event.Event event) |
protected void |
logInfoInDebugmode(org.slf4j.Logger log,
java.lang.String string)
Logs are displayed if the debug mode is configured
|
protected boolean |
send(java.lang.String s)
Send UDP message to KEBA KeContact.
|
protected void |
triggerQuery()
Triggers an immediate execution of query reports.
|
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_setIsClustered, _setPowerPrecision, _setPowerPrecision, _setSetChargePowerLimit, _setSetChargePowerLimit, _setSetChargePowerLimitWithFilter, _setSetChargePowerLimitWithFilter, _setSetChargePowerRequest, _setSetChargePowerRequest, _setSetDisplayText, _setSetEnergyLimit, _setSetEnergyLimit, getIsClustered, getIsClusteredChannel, getModbusSlaveNatureTable, getPowerPrecision, getPowerPrecisionChannel, getSetChargePowerLimit, getSetChargePowerLimitChannel, getSetChargePowerLimitWithFilter, getSetChargePowerLimitWithFilterChannel, getSetChargePowerRequest, getSetChargePowerRequestChannel, getSetDisplayText, getSetDisplayTextChannel, getSetEnergyLimit, getSetEnergyLimitChannel, setChargePowerLimit, setChargePowerLimitWithFilter, setChargePowerRequest, setDisplayText, setEnergyLimit
_setActiveConsumptionEnergy, _setActiveConsumptionEnergy, _setChargePower, _setChargePower, _setChargingstationCommunicationFailed, _setChargingType, _setEnergySession, _setEnergySession, _setMaximumHardwarePower, _setMaximumHardwarePower, _setMaximumPower, _setMaximumPower, _setMinimumHardwarePower, _setMinimumHardwarePower, _setMinimumPower, _setMinimumPower, _setPhases, _setPhases, _setStatus, getActiveConsumptionEnergy, getActiveConsumptionEnergyChannel, getChargePower, getChargePowerChannel, getChargingstationCommunicationFailed, getChargingstationCommunicationFailedChannel, getChargingType, getChargingTypeChannel, getEnergySession, getEnergySessionChannel, getMaximumHardwarePower, getMaximumHardwarePowerChannel, getMaximumPower, getMaximumPowerChannel, getMinimumHardwarePower, getMinimumHardwarePowerChannel, getMinimumPower, getMinimumPowerChannel, getPhases, getPhasesChannel, getStatus, getStatusChannel
_channel, _getChannelAs, alias, channel, channel, channels, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, logDebug, logError, logInfo, logWarn, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
public static final int UDP_PORT
protected io.openems.edge.evcs.keba.kecontact.Config config
protected void deactivate()
AbstractOpenemsComponent
deactivate
in class AbstractOpenemsComponent
public void handleEvent(org.osgi.service.event.Event event)
handleEvent
in interface org.osgi.service.event.EventHandler
protected boolean send(java.lang.String s)
s
- Message to sendprotected void triggerQuery()
public java.lang.String debugLog()
OpenemsComponent
debugLog
in interface OpenemsComponent
protected void logInfoInDebugmode(org.slf4j.Logger log, java.lang.String string)
log
- Loggerstring
- Text to displaypublic ReadWorker getReadWorker()
public ReadHandler getReadHandler()
public ModbusSlaveTable getModbusSlaveTable(AccessMode accessMode)
ModbusSlave
getModbusSlaveTable
in interface ModbusSlave
accessMode
- filters the Modbus-Records that should be shownpublic EvcsPower getEvcsPower()
getEvcsPower
in interface ManagedEvcs