1
0

fix everything for merge Field

This commit is contained in:
2023-06-07 13:42:14 +02:00
parent d88329a50b
commit 5878750109
7 changed files with 31 additions and 13 deletions

View File

@@ -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
}