IAlarmHandler2.GetCountAlarmsFromStorage (METH)

METHOD GetCountAlarmsFromStorage : DINT

This method counts all the alarms in the alarm storage, that are currently stored and fit the passed filter criteria the IAlarmManagerClient instance uses. The return value is the count.

InOut:

Scope

Name

Type

Comment

Return

GetCountAlarmsFromStorage

DINT

Input

itfAlarmManagerClient

IAlarmManagerClient

The IAlarmManagerClient instance

Output

udiResult

UDINT

Indicates, whether the processing was successful or not: ERR_OK: Alarms from storage have been read and counted successfully ERR_NO_OBJECT: Client was not found, has been not yet registered at the alarm manager ERR_NOTINITIALIZED: No client has been registered at the alarm manager