mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
![]() I've added a new parameter to ReadProperty and OptionalProperty named writable_if_oos that propagate to the property. Then at the object level, it is possible to look this parameter in the property then check the outOfService value to change mutability of the property on the fly. In the ReadProperty function, I will also check the OutOfService property to reset mutability if no longer needed. Internally, in the app, if writing to the presentValue directly, a validation of the OutOfService property will be possible when this parameter is True so the program won't update the value of the property as long as the OutOfService property is True. It could also be a good practice that the program can reset the mutability as soon as OutOfService is set to false in the logic of the program... not necessarely fast enough to wait for a network Read on the property. Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com> |
||
---|---|---|
doc | ||
pcap_tools | ||
py25/bacpypes | ||
py27/bacpypes | ||
py34/bacpypes | ||
samples | ||
sandbox | ||
tests | ||
.gitignore | ||
BACpypes~.ini | ||
LICENSE | ||
README.md | ||
README.txt | ||
release_to_pypi.sh | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test_script.sh | ||
tox.ini |