public class ReadInputRegistersResponse extends ModbusFunction
| 构造器和说明 |
|---|
ReadInputRegistersResponse() |
ReadInputRegistersResponse(int[] inputRegisters) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
calculateLength() |
void |
decode(io.netty.buffer.ByteBuf data) |
io.netty.buffer.ByteBuf |
encode() |
short |
getByteCount() |
int[] |
getInputRegisters() |
String |
toString() |
getFunctionCode, isErrorpublic ReadInputRegistersResponse()
public ReadInputRegistersResponse(int[] inputRegisters)
public int[] getInputRegisters()
public short getByteCount()
public int calculateLength()
calculateLength 在类中 ModbusFunctionpublic io.netty.buffer.ByteBuf encode()
encode 在类中 ModbusFunctionpublic void decode(io.netty.buffer.ByteBuf data)
decode 在类中 ModbusFunctionCopyright © 2019. All Rights Reserved.