This field contains the number of operator comments on the alarm.
Comments
The data member stacked_com[] has curr_comment elements in it.
Syntax
CAmvAlarm* alarm_ptr;
alarm_ptr->curr_comment;
Data Type
COR_I4
Example
This example enables or disables a button to display operator comments based on the presence of comments for the alarm.
CAmvAlarm* alarm_ptr;
int i;
if (alarm_ptr->curr_comment > 0) {
EnableCommentButton();
} else {
DisableCommentButton();
}
See Also
CAmvAlarm Class member overview. |