IEC_BACNET_WRITE_INFO
(STRUCT)
TYPE IEC_BACNET_WRITE_INFO : STRUCT
The BACNET_WRITE_INFO data structure contains the information for the routine BACnetWriteProperty and the Write-Property application hook. This data type contains information about the property co-ordinates: object and Property IDs, Array index, Priority level, and also Property Contents.
- InOut:
Name
Type
Comment
fFirstCallback
A flag that indicates which hook callback is currently processed. If it’s value is True, the first hook callback is in progress. For request initiation with BACnetWriteProperty it shall be set to False. For more information look at BACNET_SRVR_INIT
objectID
This parameter, of type BACnetObjectIdentifier, provides the means of identifying the object whose property is to be modified.
ePropertyID
This parameter, of type BACnetPropertyIdentifier, provides the means of uniquely identifying the property to be written by this service. Because this service is intended to write a single property of a single object, the value of this parameter shall not be one of the special property identifiers ALL, REQUIRED, or, OPTIONAL.
nIndex
The optional property array index. Ihis is used only with array datatypes. For referencing non array datatypes BACNET_VOID_INDEX (-1) shall be used.
nWritePriority
This parameter is an integer in the range 1-16, which indicates the priority assigned to this write operation.
sValue
If access to the specified property of the specified object is successful, this parameter shall be used to replace the value of the property at the time of access. It shall be of any datatype that is valid for the property being modified.