OnAlarmNotificationDone only supports calls to SubscribeHistorical.
OnAlarmNotificationDone is called last when SubscribeHistorical is called, and then OnAlarmNotification is called as many times as the number of records.
Typically, OnAlarmNotificationDone is used to determine whether all alarms have been displayed.
If bComplete is FALSE, the search was terminated midway due to the searchRecordCnt or showRecordCnt conditions, so there may be undisplayed alarms remaining within the period specified in SubscribeHistorical.
In such a case, for example, a button such as "Next Page" on the screen can be enabled, and when the operator presses that button, SubscribeHistorical will be called again based on the date of LastRecordDate,
This can be used to display the alarm history for the next period.
|