Closed NubeDev closed 2 years ago
@NubeDev I removed the checking for out_of_service when updating AI present_value.
$./bin/bacrp 1234 0 1 81
FALSE
$./bin/bacwp 1234 0 1 85 0 -1 4 101.50
WriteProperty Acknowledged!
$./bin/bacrp 1234 0 1 85
101.500000
@NubeDev mate the current implementation is you can only write to PROP_PRESENT_VALUE of AI if the value of PROP_OUT_OF_SERVICE is true (or 1). Like this sequence of commands:
But for BI, you can write to PROP_PRESENT_VALUE anytime.
I am not sure if this is how it should be implemented. But the existing code behaves this way. Please let me know if we will change this.