Interface ControllerEssCycle
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
ControllerEssCycleImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setCompletedCycles
(int value) Internal method to set the 'nextValue' onControllerEssCycle.ChannelId.COMPLETED_CYCLES
Channel.default void
Internal method to set the 'nextValue' onControllerEssCycle.ChannelId.STATE_MACHINE
Channel.Gets the Completed Cycles.Gets the Channel forControllerEssCycle.ChannelId.COMPLETED_CYCLES
.default Value
<StateMachine.State> Gets theStateChannel
forControllerEssCycle.ChannelId.STATE_MACHINE
.default Channel
<StateMachine.State> Gets the Channel forControllerEssCycle.ChannelId.STATE_MACHINE
.Methods inherited from interface io.openems.edge.controller.api.Controller
_setRunFailed, getRunFailed, getRunFailedChannel, run
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
-
Method Details
-
getStateMachineChannel
Gets the Channel forControllerEssCycle.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
StateMachine.State
-
getStateMachine
Gets theStateChannel
forControllerEssCycle.ChannelId.STATE_MACHINE
.- Returns:
- the Value
StateMachine.State
-
_setStateMachine
Internal method to set the 'nextValue' onControllerEssCycle.ChannelId.STATE_MACHINE
Channel.- Parameters:
value
- the next value
-
getCompletedCyclesChannel
Gets the Channel forControllerEssCycle.ChannelId.COMPLETED_CYCLES
.- Returns:
- the Channel
Integer
-
getCompletedCycles
Gets the Completed Cycles. SeeControllerEssCycle.ChannelId.COMPLETED_CYCLES
.- Returns:
- the Value
Integer
-
_setCompletedCycles
default void _setCompletedCycles(int value) Internal method to set the 'nextValue' onControllerEssCycle.ChannelId.COMPLETED_CYCLES
Channel.- Parameters:
value
- the next value
-