BACnetConstructObject
(FUN)
FUNCTION BACnetConstructObject : IEC_BACNET_STATUS
Creates a local object using a list of property instances.
Creates an object in the local database. A list of properties to be contained in the object must be provided. The maximum number of objects that can be contained in a Device is specified when the Device is created (by |BACnetConstructDevice|).
- InOut:
Scope
Name
Type
Comment
Return
BACnetConstructObject
A status indicating if the operation worked.
Input
deviceInstNumber
The device instance number in which the new object will be created.
pObjID
POINTER TO IEC_BACNET_OBJECT_ID
A pointer to the object identifier which specifies object type and instance number of the object to create.
pPropList
POINTER TO IEC_BACNET_PROPERTY_INSTANCE
A pointer to the object description, which contains the property list with their initial values, and additional flags determining default actions for each property. First property in the list must be object-identifier. Values of object-identifier and object-name properties must be unique inside of each device.
propCount
Count of property images in the property list.
bSupportUnsolicitedCOV
If set to True the object will send out unconfirmed cov notifications if the object type supports the cov service.
bFunctionInStackEnabled
If set to True the API internal actions (linke intrinsic reporting, change of value reporting, logging, schduling and other features) are active.
bHideObjectToOutside
If set to True this object will not be listed in the device object-list and it will also not be accessable by ANY BACnet service requesting it but it will be fully operational for the application.