BACnetServer.ConstructDefaultObject (METH)

METHOD ConstructDefaultObject : CmpBACnet.IEC_BACNET_STATUS

Constructs a BACnet-Object with all (also optional) BACnet-Properties under the BACnet-Device-Object of this BACnet-Server, that are necessary/possible for the given BACnet-Object-Type. The BACnet Object will be added to the BACnet-Device of the BACnet-Server.

InOut:

Scope

Name

Type

Comment

Return

ConstructDefaultObject

CmpBACnet.IEC_BACNET_STATUS

Input

objIDTyp

CmpBACnet.IEC_BACNET_OBJECT_TYPE

The type of the BACnet-Object that shall be constructed.

objIDInstance

UDINT

Unique (!along the same Type!) CmpBACnet. of the BACnet- Object, which also defines the Object-Type.

objName

WSTRING(255)

Name of the BACnet-Object that shall be constructed.

Inout

bacObj

BACnetObjectBase

Empty BACnetObjectBase-Structure, which will be initialized with the created BACnet-Object if the call to this method succeeded.

strBuffer

STRING(255)

Buffer for creating necessary Name-Strings for BACnet- Object-Name.