ACAlarmExtender.InitSortedModuleAlarms (METH) ¶ METHOD InitSortedModuleAlarms : BOOL InOut: Scope Name Type Return InitSortedModuleAlarms BOOL Input pModuleAlarmInfos POINTER TO ModuleAlarmInfo uiModuleAlarmInfos UINT
AlarmInfo (STRUCT) ¶ TYPE AlarmInfo : STRUCT InOut: Name Type alarmID AlarmManager.ALARM_ID alarmGroupID AlarmManager.ALARMGROUP_ID
AlarmingCall (ENUM) ¶ TYPE AlarmingCall : The different ways, a module call after an alarm was issued can be done to a module instance and its parents or surrounding module instances. InOut: Name Initial Comment None 0 No module instance call at all is issued Own 1 Only the alarm defining module instance itself is called Parents 2 The parent instances of the alarm defining module instance are called. All 4 Call all module instances available under the current application
IACAlarmExtender (ITF) ¶ INTERFACE IACAlarmExtender EXTENDS AC.IEnvironmentExtender Interface describing the environment extender for the alarming used by the alarm generator Methods: Init Structure: Init (Method)
IACAlarmExtender.Init (METH) ¶ METHOD Init Initialization function to initialize the environment extender of the alarm generator. This function is called by code generated by the alarm generator. Note When using Event-Alarms IAcAlarmExtender2.Init2 must be used! InOut: Scope Name Type Comment Input pModCall POINTER TO ModuleCall A pointer to a list of all module calls available under an application. The latter list is created by the alarm generator during an application composer generation. uiModCall UINT The number of module call defined in the list pointed to by pModCall.
IACAlarmExtender2 (ITF) ¶ INTERFACE IACAlarmExtender2 EXTENDS IACAlarmExtender Extension of IACAlarmExtender for the usage of Event-Alarms Methods: GetEventAlarmID Init2 Init , inherited from IACAlarmExtender Structure: GetEventAlarmID (Method) Init2 (Method)
IACAlarmExtender2.GetEventAlarmID (METH) ¶ METHOD GetEventAlarmID : BOOL This method gets information about an Event-Alarm of a certain module. InOut: Scope Name Type Comment Return GetEventAlarmID BOOL The return value indicates whether an Event-Alarm could be found. Input inst AC.IModule The module instance the Event-Alarm belongs to. pEventTargetID POINTER TO STRING The target of the Event-Alarm Output alarmGroupID AlarmManager.ALARMGROUP_ID The alarm-groupId of the found Event-Alarm alarmID AlarmManager.ALARM_ID The alarmId of the found Event-Alarm
IACAlarmExtender2.Init2 (METH) ¶ METHOD Init2 Initialization function to initialize the environment extender of the alarm generator. This function is called by code generated by the alarm generator. InOut: Scope Name Type Comment Input pModCall POINTER TO ModuleCall A pointer to a list of all module calls available under an application. The latter list is created by the alarm generator during an application composer generation. uiModCall UINT The number of module call defined in the list pointed to by pModCall. pModEvents POINTER TO ModuleEvent A pointer to a list of all module events available under an application. The latter list is created by the alarm generator during an application composer generation. uiModEvents UINT The number of module events defined in the list pointed to by pModEvents .
IACAlarmExtender3 (ITF) ¶ INTERFACE IACAlarmExtender3 EXTENDS IACAlarmExtender2 Methods: AcknowledgeAllAlarmsOfModule GetActiveAlarmsOfModule InitSortedModuleAlarms GetEventAlarmID , inherited from IACAlarmExtender2 Init , inherited from IACAlarmExtender Init2 , inherited from IACAlarmExtender2 Structure: AcknowledgeAllAlarmsOfModule (Method) GetActiveAlarmsOfModule (Method) InitSortedModuleAlarms (Method)
IACAlarmExtender3.AcknowledgeAllAlarmsOfModule (METH) ¶ METHOD AcknowledgeAllAlarmsOfModule : BOOL This method acknowledges all active alarms that belong to module instance identified by itfModule . Note For using this method one must activate the option to sort alarms per module in the options of the Alarm-Generator. InOut: Scope Name Type Comment Return AcknowledgeAllAlarmsOfModule BOOL The return value indicates if it was possible to acknowledge the alarms that belong to itfModule . Input itfModule AC.IModule The module whose alarms shall be acknowledged.