EVT_BACNET_BACKUPRESTORE_PROGRESS (STRUCT)ΒΆ
TYPE EVT_BACNET_BACKUPRESTORE_PROGRESS : STRUCT
Called to inform user application about the progress made to backup or restore an BACnet device.
This function will be called as an progress indicator and failure reporter during an BACnet backup or restore procedure.
::BAC_BOOLEAN If the user callback returns FALSE here the current backup / restore procedure is cancelled.
- InOut:
Name
Type
Comment
pCBReturnPOINTER TO IEC_BACNET_BOOLEAN
Return for the event. ::BAC_BOOLEAN If the user callback returns FALSE here the current backup / restore procedure is cancelled.
phTransactionPOINTER TO BYTE
A pointer for user application purposes. This pointer is the same pointer which was given by call to ::BACnetBackupBACnetDevice or ::BACnetRestoreBACnetDevice.
deviceInstanceThe device instance number which is currently processed.
pFileObjectNamePOINTER TO IEC_BACNET_STRING
The object name from the file object which is currently processed.
pFileObjectDescriptionPOINTER TO IEC_BACNET_STRING
The optional object description from the file object which is currently processed. This may be NULL if no description is available.
fileInstanceThe instance number from the file object which is currently processed.
totalFileCountThe number of total files to be processed.
actualFileNumberThe actual file number which is processed.
totalFileSizeThe total size to restore or to be backed up. In case of an stream accessed file this is the number of octets. In case of an record accessed file this is the number of records.
actualFileSizeThe actual size restored or backed up. In case of an stream accessed file this is the number of octets. In case of an record accessed file this is the number of records.
statusContains the current status of operation. A value != ::BACNET_STATUS_OK represents an error condition. Additional information may be available in pError.
pErrorPOINTER TO IEC_BACNET_ERROR
Contains the most recent BACnet error occurred during the process. Only valid if status has not the value BACNET_STATUS_OK.
bProcedureFinishedThis parameter is TRUE if the procedure has been completed successfully or not.