public class BooleanRegister extends ModbusRegister
| Constructor and Description |
|---|
BooleanRegister(java.lang.String label,
boolean isOutput,
int address)
public constructor of the booleanRegister
|
| Modifier and Type | Method and Description |
|---|---|
void |
read()
function to read a datapoint from the modbus register
|
void |
write(DataPoint dp)
function to write datapoint on the modbus register
|
getAddress, getRegisterFromDatapoint, poll, updateMapOfRegisterspublic BooleanRegister(java.lang.String label,
boolean isOutput,
int address)
label - label of the datapointisOutput - true if it is an output datapointaddress - modbus address of the datapointpublic void read()
ModbusRegisterread in class ModbusRegisterpublic void write(DataPoint dp)
ModbusRegisterwrite in class ModbusRegisterdp - datapoint to write on the address