Interface ChannelSingleThreshold
-
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
ChannelSingleThresholdImpl
public interface ChannelSingleThreshold extends Controller, OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ChannelSingleThreshold.ChannelId
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
_setAwaitingHysteresis(boolean value)
Internal method to set the 'nextValue' onChannelSingleThreshold.ChannelId.AWAITING_HYSTERESIS
Channel.default Value<java.lang.Boolean>
getAwaitingHysteresis()
Gets the Run-Failed State.default StateChannel
getAwaitingHysteresisChannel()
Gets the Channel forChannelSingleThreshold.ChannelId.AWAITING_HYSTERESIS
.-
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 Detail
-
getAwaitingHysteresisChannel
default StateChannel getAwaitingHysteresisChannel()
Gets the Channel forChannelSingleThreshold.ChannelId.AWAITING_HYSTERESIS
.- Returns:
- the Channel
-
getAwaitingHysteresis
default Value<java.lang.Boolean> getAwaitingHysteresis()
Gets the Run-Failed State. SeeChannelSingleThreshold.ChannelId.AWAITING_HYSTERESIS
.- Returns:
- the Channel
Value
-
_setAwaitingHysteresis
default void _setAwaitingHysteresis(boolean value)
Internal method to set the 'nextValue' onChannelSingleThreshold.ChannelId.AWAITING_HYSTERESIS
Channel.- Parameters:
value
- the next value
-
-