BACnetCommand.GetActionList (METH)ΒΆ

METHOD GetActionList : CmpBACnet.IEC_BACNET_STATUS

Gets a action list and action list text at index nIndex from the Action-BACnet-Propetrty and Action_Text-BACnetProperty of this BACnet-Command-Object at the same time. So both description and action are aquired simultaneously (outputs pActionList and sctionListText).

InOut:

Scope

Name

Type

Comment

Return

GetActionList

CmpBACnet.IEC_BACNET_STATUS

Input

nIndex

CmpBACnet.IEC_BACNET_ELEMENT_COUNT

The 1 based index of the action list to get.

Output

pActionList

POINTER TO CmpBACnet.IEC_BACNET_ACTION_LIST

The returned Pointer gets filled with the data of IEC_BACNET_EVENT_PARAMETER AND (!) the data referenced within evtParams. After usage, use FreeStackAllocatedMemory, to free the used memory. The pointer only points to a single action list.

actionListText

WSTRING(255)

The corresponding action text describing the aquired action list.