1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-10-27 00:57:47 +08:00
bacpypes/doc/source/modules/service/object.rst
2016-10-04 01:35:45 -04:00

59 lines
1.7 KiB
ReStructuredText

.. BACpypes object services
Object Services
===============
.. class:: ReadWritePropertyServices(Capability)
This is a long line of text.
.. method:: do_ReadPropertyRequest(apdu)
:param ReadPropertyRequest apdu: request from the network
This is a long line of text.
.. method:: do_WritePropertyRequest(apdu)
:param WritePropertyRequest apdu: request from the network
This is a long line of text.
.. class:: ReadWritePropertyMultipleServices(Capability)
This is a long line of text.
.. method:: do_ReadPropertyMultipleRequest(apdu)
:param ReadPropertyRequest apdu: request from the network
This is a long line of text.
.. method:: do_WritePropertyMultipleRequest(apdu)
:param WritePropertyMultipleRequest apdu: request from the network
Not implemented.
Support Functions
-----------------
.. function:: read_property_to_any(obj, propertyIdentifier, propertyArrayIndex=None):
:param obj: object
:param propertyIdentifier: property identifier
:param propertyArrayIndex: optional array index
Called by `read_property_to_result_element` to build an appropriate
`Any` result object from the supplied object given the property
identifier and optional array index.
.. function:: read_property_to_result_element(obj, propertyIdentifier, propertyArrayIndex=None):
:param obj: object
:param propertyIdentifier: property identifier
:param propertyArrayIndex: optional array index
Called by `do_ReadPropertyMultipleRequest` to build the result element
components of a `ReadPropertyMultipleACK`.