TcEventFlags

This enum describes the event class. The event class can be set on issuing an alarm and can be used by the clients to distinguish different alarm classes.  For e.g. the formatter displays for the different alarm class different icons.

enum TcEventClass
{
    TCEVENTFLAG_REQ=0x0001,
    TCEVENTFLAG_REQMUSTCON=0x0002,
    TCEVENTFLAG_CON=0x0004,
    TCEVENTFLAG_RESET=0x0008,
    TCEVENTFLAG_PRIOCLASS=0x0010,
    TCEVENTFLAG_FMTSELF=0x0020,
    TCEVENTFLAG_LOG=0x0040,
    TCEVENTFLAG_MSGBOX=0x0080,
    TCEVENTFLAG_SRCID=0x0100,
    TCEVENTFLAG_SELFRESET=0x0200,
    TCEVENTFLAG_TCID=0x0400,
    TCEVENTFLAG_SIGNAL=0x0800,
    TCEVENTFLAG_ADS=0x8000,
};
Parameters

Item

Description

TCEVENTFLAG_REQ

sets the alarm that is not confirmable

TCEVENTFLAG_REQMUSTCON

sets the alarm that is confirmable

TCEVENTFLAG_CON

sets the confirmation

TCEVENTFLAG_RESET

resets the event

TCEVENTFLAG_PRIOCLASS

the event priority and class is read from the formatter configuration

TCEVENTFLAG_FMTSELF

not used yet

TCEVENTFLAG_LOG

writes the event to the list of logged events

TCEVENTFLAG_MSGBOX

Not used yet

TCEVENTFLAG_SRCID

We use a source id instead of a source name

TCEVENTFLAG_SELFRESET

the event resets itself directly. If TCEVENTFLAG_LOG is set the event is visible in the list of logged alarms

TCEVENTFLAG_TCID

not used

TCEVENTFLAG_SIGNAL

signals a alarm again

TCEVENTFLAG_ADS

indicates that the event is generated via ADS