Interface TimeOfUseTariffController
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
TimeOfUseTariffControllerImpl
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setQuarterlyPrices
(Double value) Internal method to set the 'nextValue' onTimeOfUseTariffController.ChannelId.QUARTERLY_PRICES
Channel.default void
_setStateMachine
(StateMachine value) Internal method to set the 'nextValue' onTimeOfUseTariffController.ChannelId.STATE_MACHINE
Channel.Gets the Channel forTimeOfUseTariffController.ChannelId.QUARTERLY_PRICES
.default StateMachine
default Channel
<StateMachine> Gets the Channel forTimeOfUseTariffController.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
-
Field Details
-
PERIODS_PER_HOUR
static final int PERIODS_PER_HOUR- See Also:
-
-
Method Details
-
getQuarterlyPricesChannel
Gets the Channel forTimeOfUseTariffController.ChannelId.QUARTERLY_PRICES
.- Returns:
- the Channel
-
_setQuarterlyPrices
Internal method to set the 'nextValue' onTimeOfUseTariffController.ChannelId.QUARTERLY_PRICES
Channel.- Parameters:
value
- the next value
-
getStateMachineChannel
Gets the Channel forTimeOfUseTariffController.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
-
getStateMachine
- Returns:
- the Channel
Value
-
_setStateMachine
Internal method to set the 'nextValue' onTimeOfUseTariffController.ChannelId.STATE_MACHINE
Channel.- Parameters:
value
- the next value
-