Interface ModbusReadElement<T>
-
- All Superinterfaces:
ModbusElement<T>
public interface ModbusReadElement<T> extends ModbusElement<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractModbusElement<T>
onUpdateCallback(java.util.function.Consumer<T> onUpdateCallback)
Adds an On-Update-Callback.-
Methods inherited from interface io.openems.edge.bridge.modbus.api.element.ModbusElement
_setNextWriteValue, deactivate, getLength, getStartAddress, getType, invalidate, isIgnored, onSetNextWrite, setModbusTask
-
-
-
-
Method Detail
-
onUpdateCallback
AbstractModbusElement<T> onUpdateCallback(java.util.function.Consumer<T> onUpdateCallback)
Adds an On-Update-Callback.- Parameters:
onUpdateCallback
- the Callback- Returns:
- myself
-
-