| Package | Description |
|---|---|
| net.solarnetwork.io.modbus |
| Modifier and Type | Method | Description |
|---|---|---|
ModbusBlockType |
UserModbusFunction.blockType() |
|
ModbusBlockType |
ModbusFunctionCode.blockType() |
|
ModbusBlockType |
ModbusFunction.blockType()
Get the register block type related to this function.
|
|
static ModbusBlockType |
ModbusBlockType.forCode(int code)
Get an enumeration instance for a code value.
|
|
static ModbusBlockType |
ModbusBlockType.valueOf(int code)
Get an enumeration instance for a code value.
|
|
static ModbusBlockType |
ModbusBlockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
|
static ModbusBlockType[] |
ModbusBlockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor | Description |
|---|---|
UserModbusFunction(String displayName,
byte code,
ModbusBlockType blockType,
boolean readFunction,
ModbusFunction oppositeFunction)
Constructor.
|