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