CAmvAlarm::ManualClearAllowed()

This field indicates whether an operator can reset this alarm from the Alarm Viewer display. It contains one of the following values:

TRUE

The operator can reset the alarm.

FALSE

The operator cannot reset the alarm.

Syntax

CAmvAlarm* alarm_ptr;

alarm_ptr->ManualClearAllowed();

Data Type

COR_BOOLEAN

Example

This example displays an error message if manual reset is not allowed.

if (!alarm_ptr->ManualClearAllowed()) {

   MessageBox("Alarm may not be manually cleared\n");

}

More information

CAmvAlarm Class member overview.