Package io.openems.edge.bridge.onewire
Interface BridgeOnewire
- All Superinterfaces:
OpenemsComponent
- All Known Implementing Classes:
BridgeOnewireImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setUnableToSelectPortFault
(boolean value) Internal method to set the 'nextValue' onBridgeOnewire.ChannelId.UNABLE_TO_SELECT_PORT_FAULT
Channel.void
addTask
(Consumer<DSPortAdapter> task) Add a Task.Gets the Unable-To-Select-Port Fault State.default StateChannel
Gets the Channel forBridgeOnewire.ChannelId.UNABLE_TO_SELECT_PORT_FAULT
.void
removeTask
(Consumer<DSPortAdapter> task) Removes a Task.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
-
getUnableToSelectPortFaultChannel
Gets the Channel forBridgeOnewire.ChannelId.UNABLE_TO_SELECT_PORT_FAULT
.- Returns:
- the Channel
-
getUnableToSelectPortFault
Gets the Unable-To-Select-Port Fault State. SeeBridgeOnewire.ChannelId.UNABLE_TO_SELECT_PORT_FAULT
.- Returns:
- the Channel
Value
-
_setUnableToSelectPortFault
default void _setUnableToSelectPortFault(boolean value) Internal method to set the 'nextValue' onBridgeOnewire.ChannelId.UNABLE_TO_SELECT_PORT_FAULT
Channel.- Parameters:
value
- the next value
-
addTask
Add a Task.Tasks are executed sequentially in a separate thread.
- Parameters:
task
- the task
-
removeTask
Removes a Task.- Parameters:
task
- the task
-