@ProviderType public interface Scheduler extends OpenemsComponent
Modifier and Type | Interface and Description |
---|---|
static class |
Scheduler.ChannelId |
Modifier and Type | Method and Description |
---|---|
default void |
_setRunFailed(boolean value)
Internal method to set the 'nextValue' on
Scheduler.ChannelId.RUN_FAILED
Channel. |
java.util.LinkedHashSet<Controller> |
getControllers()
Returns Controllers ordered by their current execution priority.
|
default Value<java.lang.Boolean> |
getRunFailed()
Gets the Run-Failed State.
|
default StateChannel |
getRunFailedChannel()
Gets the Channel for
Scheduler.ChannelId.RUN_FAILED . |
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getModbusSlaveNatureTable, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
default StateChannel getRunFailedChannel()
Scheduler.ChannelId.RUN_FAILED
.default Value<java.lang.Boolean> getRunFailed()
Scheduler.ChannelId.RUN_FAILED
.Value
default void _setRunFailed(boolean value)
Scheduler.ChannelId.RUN_FAILED
Channel.value
- the next valuejava.util.LinkedHashSet<Controller> getControllers() throws OpenemsError.OpenemsNamedException
This method is called once every Cycle, i.e. once per second. The
LinkedHashSet
is used, as it preserves insertion order
OpenemsError.OpenemsNamedException
- on error