IEC_BACNET_AUDIT_VALUE_SOURCE (STRUCT)ΒΆ

TYPE IEC_BACNET_AUDIT_VALUE_SOURCE : STRUCT

This structure describes the data used to give extra information required for the audit source notification generated on sent client requests or for internal property value modifications. The data in this structure will be merged into the generated audit notification to be logged in the local audit logging objects and also to be reported to the audit notification recipient is one is configured.

InOut:

Name

Type

Comment

fUserRoleValid

IEC_BACNET_BOOLEAN

Flag indicating that the user role of this source is valid.

fUserIdValid

IEC_BACNET_BOOLEAN

Flag indicating that the user id of this source is valid.

fObjectValid

IEC_BACNET_BOOLEAN

Flag indicating that the object id of this source is valid.

userRole

IEC_BACNET_BYTE

The optional user role to be used in the generated audit notification.

userId

IEC_BACNET_WORD

The optional user id to be used in the generated audit notification.

objectId

IEC_BACNET_OBJECT_ID

The optional object id to be used in the generated audit notification.

comment

IEC_BACNET_STRING

The optional source comment to be used in the generated audit notification. Set this to ::BACNET_STRING_NONE to ommit the comment.

valueSource

IEC_BACNET_VALUE_SOURCE

The value source (device MAC address, device and/or object instance which has initiated the request).