BACnetStructuredView.AddSubordinate (METH)ΒΆ

METHOD AddSubordinate : CmpBACnet.IEC_BACNET_STATUS

Adds a subordinate (given by a BACnet-Object-Reference) and a subordinate anotation to the Subordinate_List-Property and the Subordinate_Annotations-Property of this BACnet-Object. Both the subordinate and its annotation are added simulatenously by this function.

InOut:

Scope

Name

Type

Initial

Comment

Return

AddSubordinate

CmpBACnet.IEC_BACNET_STATUS

Input

deviceInstance

CmpBACnet.IEC_BACNET_DWORD

The device to reference by the subordinate

objInstance

CmpBACnet.IEC_BACNET_DWORD

The object instance number to reference by the subordinate.

objType

CmpBACnet.IEC_BACNET_OBJECT_TYPE

The object type to reference by the subordiante.

xDevicePresent

BOOL

TRUE

Whether the device is present or not.

annotation

WSTRING(255)

The annotation (comment) for the subordinate added.