1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00
Go to file
Christian Tremblay 9e318177b4 Attempt to implement the feature where some properties must be writable when OutOfService is set to True.
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>
2019-08-23 11:10:04 -04:00
doc merge in stage, resolve merge conflicts, test 2019-04-11 11:14:33 -04:00
pcap_tools initial commit 2015-07-15 16:51:27 -04:00
py25/bacpypes adjust to merge into stage, add a debug message (#283) 2019-07-04 17:07:29 -04:00
py27/bacpypes adjust to merge into stage, add a debug message (#283) 2019-07-04 17:07:29 -04:00
py34/bacpypes Attempt to implement the feature where some properties must be writable when OutOfService is set to True. 2019-08-23 11:10:04 -04:00
samples OpenWeather Server sample 2019-07-05 01:32:28 -04:00
sandbox Update network_port_object.py 2019-03-19 17:44:46 -04:00
tests Issue 267 (#268) 2019-05-24 00:36:29 -04:00
.gitignore first commit, introduced DeviceCommunicationControlServices class 2017-08-03 18:17:41 +05:30
BACpypes~.ini use the other parameter, when=0 means something different than delta=0 (but probably shouldn't) 2017-12-15 10:59:38 -05:00
LICENSE Initial commit 2015-07-15 16:33:51 -04:00
README.md Added documentation badge 2016-11-15 22:34:37 -05:00
README.txt remove universal flag from setup, add a sdist build to the script 2015-08-14 19:45:12 -04:00
release_to_pypi.sh make a list of what was built to help prompt what is about to be uploaded 2017-03-25 23:18:19 -04:00
requirements.txt initial commit 2015-07-15 16:51:27 -04:00
setup.cfg use recommended format for configuration 2016-08-23 16:14:40 -04:00
setup.py Update setup.py (#266) 2019-05-21 20:53:42 -04:00
test_script.sh version 0.17.3 released 2018-07-04 17:51:12 -04:00
tox.ini convert tests from nose to pytest 2016-05-07 15:53:58 -04:00

BACpypes

BACpypes provides a BACnet application layer and network layer written in Python for daemons, scripting, and graphical interfaces. This is the current project, not the one over on SourceForge.

Join the chat at https://gitter.im/JoelBender/bacpypes

Documentation Status