public abstract class AbstractReadInputRegistersTask extends AbstractReadTask<com.ghgande.j2mod.modbus.procimg.InputRegister>
Constructor and Description |
---|
AbstractReadInputRegistersTask(int startAddress,
Priority priority,
AbstractModbusElement<?>... elements) |
Modifier and Type | Method and Description |
---|---|
protected void |
doElementSetInput(ModbusElement<?> modbusElement,
int position,
com.ghgande.j2mod.modbus.procimg.InputRegister[] response) |
protected java.lang.String |
getRequiredElementName() |
protected int |
increasePosition(int position,
ModbusElement<?> modbusElement) |
protected boolean |
isCorrectElementInstance(ModbusElement<?> modbusElement) |
executeQuery, fillElements, getPriority, getRequest, handleResponse, readElements
getActiondescription, getElements, getLength, getParent, getStartAddress, setParent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getElements, getStartAddress, setParent
public AbstractReadInputRegistersTask(int startAddress, Priority priority, AbstractModbusElement<?>... elements)
protected boolean isCorrectElementInstance(ModbusElement<?> modbusElement)
isCorrectElementInstance
in class AbstractReadTask<com.ghgande.j2mod.modbus.procimg.InputRegister>
protected void doElementSetInput(ModbusElement<?> modbusElement, int position, com.ghgande.j2mod.modbus.procimg.InputRegister[] response) throws OpenemsException
doElementSetInput
in class AbstractReadTask<com.ghgande.j2mod.modbus.procimg.InputRegister>
OpenemsException
protected java.lang.String getRequiredElementName()
getRequiredElementName
in class AbstractReadTask<com.ghgande.j2mod.modbus.procimg.InputRegister>
protected int increasePosition(int position, ModbusElement<?> modbusElement)
increasePosition
in class AbstractReadTask<com.ghgande.j2mod.modbus.procimg.InputRegister>