fix everything for merge Field
This commit is contained in:
@@ -20,6 +20,9 @@ public class BooleanRegister extends ModbusRegister{
|
||||
}
|
||||
@Override
|
||||
public void read() {
|
||||
if(bdp.isOutput()){
|
||||
return; //if it is an output datapoint, it is not read
|
||||
}
|
||||
bdp.setValue(ModbusAccessor.getMySelf().readBoolean(this.getAddress())); //read the value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user