BACnetAnalogValue.TimeDelay (PROP) ¶ PROPERTY TimeDelay : CmpBACnet.IEC_BACNET_UNSIGNED
BACnetObjectBase.SetPropertyInstance (METH) ¶ METHOD SetPropertyInstance : CmpBACnet.IEC_BACNET_STATUS Sets the value/content of a specified BACnet-Property (ePropertyID) independend of any client side restrictions (access, priorization, range checks). To simulate behaviour happing at BACnet client write property requests (access, priorization, range checks) use WritePropertyInstance . The specified index should be set to -1, meaning that all elements of a List or Array in a BACnet-Property are stored. Otherwise an index counting from 1 specifies a element of a List or Array of a BACnet-Property, whereas this access method should be only used for BACnet-Property of constant array size. Moreover the IEC_BACNET_PEROPERTY_CONTENTS variable propertyContents holds the information to be written, whereas the data given in propertyContents.Buffer.pBuffer has to be in the format expected by the specified BACnet-Property-Type. InOut: Scope Name Type Comment Return SetPropertyInstance CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID of the property to set its instance data for. nIndex DINT Counting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance. propertyContents CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS Property-Contents to be written to the specified BACnet- Property.
Utilities ¶ Utility functions for handling properties of different types of any BACnet object. GetBACnetAccumulatorRecordProperty (Method) GetBACnetArraySizeOfProperty (Method) GetBACnetArraySizeOfTwoProperties (Method) GetBACnetBitStringProperty (Method) GetBACnetBooleanProperty (Method) GetBACnetClientCOVProperty (Method) GetBACnetDateProperty (Method) GetBACnetDateRangeProperty (Method) GetBACnetDateTimeProperty (Method) GetBACnetDevObjPropReferenceProperty (Method) GetBACnetDoubleProperty (Method) GetBACnetEnumeratedProperty (Method) GetBACnetObjPropReferenceProperty (Method) GetBACnetObjectIDProperty (Method) GetBACnetPrescaleProperty (Method) GetBACnetRealProperty (Method) GetBACnetScaleProperty (Method) GetBACnetSetpointReferenceProperty (Method) GetBACnetSignedProperty (Method) GetBACnetStringProperty (Method) GetBACnetTimeProperty (Method) GetBACnetTimeStampProperty (Method) GetBACnetUnsignedProperty (Method) IsBACnetDateTimePropertyUnspecified (Method) SetBACnetAccumulatorRecordProperty (Method) SetBACnetBitStringProperty (Method) SetBACnetBooleanProperty (Method) SetBACnetClientCOVProperty (Method) SetBACnetDateProperty (Method) SetBACnetDateRangeProperty (Method) SetBACnetDateTimeProperty (Method) SetBACnetDateTimePropertyToUnspecified (Method) SetBACnetDevObjPropReferenceProperty (Method) SetBACnetDoubleProperty (Method) SetBACnetEnumeratedProperty (Method) SetBACnetObjPropReferenceProperty (Method) SetBACnetObjectIDProperty (Method) SetBACnetPrescaleProperty (Method) SetBACnetRealProperty (Method) SetBACnetScaleProperty (Method) SetBACnetSetpointReferenceProperty (Method) SetBACnetSignedProperty (Method) SetBACnetStringProperty (Method) SetBACnetTimeProperty (Method) SetBACnetTimeStampProperty (Method) SetBACnetUnsignedProperty (Method)
BACnetObjectBase.GetPropertyInstanceStackAllocContentBuffer (METH) ¶ METHOD GetPropertyInstanceStackAllocContentBuffer : CmpBACnet.IEC_BACNET_STATUS Gets the value/content of a specified BACnet-Property (ePropertyID) independend of any client side acces restrictions. The specified index should be set to -1, meaning that all elements of a List or Array in a BACnet-Property are retrieved. Otherwise an index counting from 1 specifies a element of a BACnetARRAY property. The IEC_BACNET_PEROPERTY_CONTENTS variable propertyContents.Buffer.pBuffer is requested to be initialized with 0, whereas the stack allocates the latter pointer. Consequently after using the information in propertyContents.Buffer.pBuffer has to be used to freed. DeallocStackAllocatedContentBuffer provides convenient dealloc for stack allocated propertyContents. InOut: Scope Name Type Comment Return GetPropertyInstanceStackAllocContentBuffer CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The id of the property to get. nIndex DINT Counting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance. Inout propertyContents CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS structure holding the read Property-Data (see documentation above).
BACnetObjectBase.GetPropertyInstanceWithContentBuffer (METH) ¶ METHOD GetPropertyInstanceWithContentBuffer : CmpBACnet.IEC_BACNET_STATUS Gets the value/content of a specified BACnet-Property (ePropertyID) independend of any client side acces restrictions. The specified index should be set to -1, meaning that all elements of a List or Array in a BACnet-Property are retrieved. Otherwise an index counting from 1 specifies a element of a BACnetARRAY property. The IEC_BACNET_PEROPERTY_CONTENTS variable propertyContents.Buffer.pBuffer is requested to be initialized with a properly sized memory block, which is able to hold all the data of the BACnet-Property, so the stack doesnt allocate propertyContents.Buffer.pBuffer. InOut: Scope Name Type Comment Return GetPropertyInstanceWithContentBuffer CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The id of the property to get. nIndex DINT Counting from 1. See documentation of CmpBACnet.BACnetRetrievePropertyInstance. Inout propertyContents CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS Initialized or not initalized structure holding the read Property-Data (see documentation above).
BACnetObjectBase.SetPropertyAccessRight (METH) ¶ METHOD SetPropertyAccessRight : CmpBACnet.IEC_BACNET_STATUS Sets the client side access rights for a specified BACnet-Property of this BACnet-Object (propID). These restrictions only hold for client side access of the specified BACnet-Property. InOut: Scope Name Type Comment Return SetPropertyAccessRight CmpBACnet.IEC_BACNET_STATUS Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID of the property for which the access rights shall be set. accessRight CmpBACnet.IEC_BACNET_ACCESS The BACnet access rights to set for the property.
BACnetObjectBase.SetPropertyCallbackAttachment (METH) ¶ METHOD SetPropertyCallbackAttachment : CmpBACnet.IEC_BACNET_STATUS Sets the current callback status of a property of the BACnet-Object. This status defines if the WRITE- or READ-Callbacks (IEC_BACNET_CALLBACK_TYPE used in BACnetServer.RegisterCallback) are called for the specified property of this object. InOut: Scope Name Type Comment Return SetPropertyCallbackAttachment CmpBACnet.IEC_BACNET_STATUS Input ePropertyID CmpBACnet.IEC_BACNET_PROPERTY_ID The id of the property to get its callback status for. xReadCallbackAttached BOOL If the READ-Callback shall be called for the sepcified property of this object, specify TRUE. Else FALSE. xWriteCallbackAttached BOOL If the WRITE-Callback shall be called for the sepcified property of this object, specify TRUE. Else FALSE.
BACnetObjectBase.GetBACnetArraySizeOfTwoProperties (METH) ¶ METHOD GetBACnetArraySizeOfTwoProperties : CmpBACnet.IEC_BACNET_STATUS Returns the minimum number of elements in two BACnetARRAY properties. InOut: Scope Name Type Comment Return GetBACnetArraySizeOfTwoProperties CmpBACnet.IEC_BACNET_STATUS Input aePropertyIDs ARRAY [0..2] OF CmpBACnet.IEC_BACNET_PROPERTY_ID The ID of the property to get the array size from. Output arraySize CmpBACnet.IEC_BACNET_ELEMENT_COUNT
BACnetObjectBase.GetBACnetBitStringProperty (METH) ¶ METHOD GetBACnetBitStringProperty : STRING Returns the BACnet-BitString-Value of the specified Property (propID) of this BACnet-Object as a STRING (in form of i.e. ‘1010111’). The used functions are no client, meaning, that the access of the property is not restricted by write or read access restrictions. InOut: Scope Name Type Comment Return GetBACnetBitStringProperty STRING Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The ID of the property to get.
BACnetObjectBase.GetBACnetAccumulatorRecordProperty (METH) ¶ METHOD GetBACnetAccumulatorRecordProperty : CmpBACnet.IEC_BACNET_ACCUMULATOR_RECORD Returns the BACnet-Accumulator-Record of the specified Property (propID) of this BACnet-Object as a IEC_BACNET_ACCUMULATOR_RECORD struct. The used functions are no client, meaning, that the access of the property is not restricted by write or read access restrictions. InOut: Scope Name Type Comment Return GetBACnetAccumulatorRecordProperty CmpBACnet.IEC_BACNET_ACCUMULATOR_RECORD Input propID CmpBACnet.IEC_BACNET_PROPERTY_ID The ID of the property to get.