| Package | Description |
|---|---|
| net.solarnetwork.io.modbus |
| Modifier and Type | Field and Description |
|---|---|
static Map<ModbusFunctionCode,ModbusFunctionCode> |
ModbusFunctionCode.OPPOSITES
A mapping of function read-write opposites.
|
static Map<ModbusFunctionCode,ModbusFunctionCode> |
ModbusFunctionCode.OPPOSITES
A mapping of function read-write opposites.
|
| Modifier and Type | Method and Description |
|---|---|
static ModbusFunctionCode |
ModbusFunctionCode.forCode(byte code)
Get an enum instance for a code value.
|
default ModbusFunctionCode |
ModbusFunction.functionCode()
Get this function as a
ModbusFunctionCode. |
ModbusFunctionCode |
ModbusFunctionCode.functionCode() |
ModbusFunctionCode |
ModbusFunctionCode.oppositeFunction() |
static ModbusFunctionCode |
ModbusFunctionCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModbusFunctionCode[] |
ModbusFunctionCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|