|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface defining a register.
A register is read-write from slave and
master or device side.
Therefor implementations have to be carefully
designed for concurrency.
| Method Summary | |
void |
setValue(byte[] bytes)
Sets the content of this register from the given raw bytes. |
void |
setValue(int v)
Sets the content of this Register from the given unsigned 16-bit value (unsigned short). |
void |
setValue(short s)
Sets the content of this register from the given signed 16-bit value (short). |
| Methods inherited from interface net.wimpi.modbus.procimg.InputRegister |
getValue, toBytes, toShort, toUnsignedShort |
| Method Detail |
public void setValue(int v)
v - the value as unsigned short (int).public void setValue(short s)
s - the value as short.public void setValue(byte[] bytes)
bytes - the raw data as byte[].
|
jamod at SF | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||