| Package | Description |
|---|---|
| net.solarnetwork.io.modbus |
| Modifier and Type | Class and Description |
|---|---|
class |
ModbusFunctionCode
Modbus function codes.
|
class |
UserModbusFunction
A user-defined Modbus function.
|
| Modifier and Type | Method and Description |
|---|---|
ModbusFunction |
ModbusMessage.getFunction()
Get the Modbus function code.
|
ModbusFunction |
ModbusFunction.oppositeFunction()
Get an "opposite" function from this function.
|
ModbusFunction |
UserModbusFunction.oppositeFunction() |
static ModbusFunction |
ModbusFunctionCode.valueOf(byte code)
Get a function instance for a code value.
|
| Constructor and Description |
|---|
UserModbusFunction(String displayName,
byte code,
ModbusBlockType blockType,
boolean readFunction,
ModbusFunction oppositeFunction)
Constructor.
|