@ProviderType public interface Controller extends OpenemsComponent
Modifier and Type | Interface and Description |
---|---|
static class |
Controller.ChannelId |
Modifier and Type | Method and Description |
---|---|
default void |
_setRunFailed(boolean value)
Internal method to set the 'nextValue' on
Controller.ChannelId.RUN_FAILED
Channel. |
static ModbusSlaveNatureTable |
getModbusSlaveNatureTable(AccessMode accessMode)
Used for Modbus/TCP Api Controller.
|
default Value<java.lang.Boolean> |
getRunFailed()
Gets the Run-Failed State.
|
default StateChannel |
getRunFailedChannel()
Gets the Channel for
Controller.ChannelId.RUN_FAILED . |
void |
run()
Executes the Controller logic.
|
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
void run() throws OpenemsError.OpenemsNamedException
OpenemsError.OpenemsNamedException
- on errordefault StateChannel getRunFailedChannel()
Controller.ChannelId.RUN_FAILED
.default Value<java.lang.Boolean> getRunFailed()
Controller.ChannelId.RUN_FAILED
.Value
default void _setRunFailed(boolean value)
Controller.ChannelId.RUN_FAILED
Channel.value
- the next valuestatic ModbusSlaveNatureTable getModbusSlaveNatureTable(AccessMode accessMode)
OpenemsComponent
getModbusSlaveNatureTable
in interface OpenemsComponent
accessMode
- the AccessMode
of the ControllerModbusSlaveNatureTable