Object Services

class ReadWritePropertyServices(Capability)

This class provides the capability to respond to ReadProperty and WriteProperty service, used by a client BACnet-user to request the value of one property of one BACnet Object.

do_ReadPropertyRequest(apdu)
Parameters:apdu (ReadPropertyRequest) – request from the network

See Clause 15.5 for the parameters to this service.

do_WritePropertyRequest(apdu)
Parameters:apdu (WritePropertyRequest) – request from the network

See Clause 15.9 for the parameters to this service.

class ReadWritePropertyMultipleServices(Capability)

This class provides the capability to respond to ReadPropertyMultiple and WritePropertyMultiple service, used by a client BACnet-user to request the values of one or more specified properties of one or more BACnet Objects.

do_ReadPropertyMultipleRequest(apdu)
Parameters:apdu (ReadPropertyRequest) – request from the network

See Clause 15.7 for the parameters to this service.

do_WritePropertyMultipleRequest(apdu)
Parameters:apdu (WritePropertyMultipleRequest) – request from the network

Not implemented.

Support Functions

read_property_to_any(obj, propertyIdentifier, propertyArrayIndex=None):
Parameters:
  • obj – object
  • propertyIdentifier – property identifier
  • 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.

read_property_to_result_element(obj, propertyIdentifier, propertyArrayIndex=None):
Parameters:
  • obj – object
  • propertyIdentifier – property identifier
  • propertyArrayIndex – optional array index

Called by do_ReadPropertyMultipleRequest to build the result element components of a ReadPropertyMultipleACK.