Package io.openems.edge.evcs.core
Class EvcsPowerComponent
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.evcs.core.EvcsPowerComponent
- All Implemented Interfaces:
OpenemsComponent
,EvcsPower
public class EvcsPowerComponent
extends AbstractOpenemsComponent
implements OpenemsComponent, EvcsPower
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Handles @Deactivate of implementations.float
Gets the current increase rate.Gets the RampFilter instance with the configured variables.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.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Field Details
-
SINGLETON_SERVICE_PID
- See Also:
-
SINGLETON_COMPONENT_ID
- See Also:
-
-
Constructor Details
-
EvcsPowerComponent
public EvcsPowerComponent()
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
getRampFilter
Description copied from interface:EvcsPower
Gets the RampFilter instance with the configured variables.- Specified by:
getRampFilter
in interfaceEvcsPower
- Returns:
- an instance of
RampFilter
-
getIncreaseRate
public float getIncreaseRate()Description copied from interface:EvcsPower
Gets the current increase rate.- Specified by:
getIncreaseRate
in interfaceEvcsPower
- Returns:
- increase rate
-