Alarm related
[Midas Structure Declaration]


Detailed Description

Alarm structure.


Data Structures

struct  PROGRAM_INFO
struct  ALARM_CLASS
struct  ALARM

Defines

#define AT_INTERNAL   1
#define AT_PROGRAM   2
#define AT_EVALUATED   3
#define AT_PERIODIC   4
#define AT_LAST   4


Define Documentation

#define ALARM_CLASS_STR ( _name   ) 

Value:

char *_name[] = {\
"[.]",\
"Write system message = BOOL : y",\
"Write Elog message = BOOL : n",\
"System message interval = INT : 60",\
"System message last = DWORD : 0",\
"Execute command = STRING : [256] ",\
"Execute interval = INT : 0",\
"Execute last = DWORD : 0",\
"Stop run = BOOL : n",\
"Display BGColor = STRING : [32] red",\
"Display FGColor = STRING : [32] black",\
"",\
NULL }

Definition at line 1296 of file midas.h.

Referenced by al_check().

#define ALARM_ODB_STR ( _name   ) 

Value:

char *_name[] = {\
"[.]",\
"Active = BOOL : n",\
"Triggered = INT : 0",\
"Type = INT : 3",\
"Check interval = INT : 60",\
"Checked last = DWORD : 0",\
"Time triggered first = STRING : [32] ",\
"Time triggered last = STRING : [32] ",\
"Condition = STRING : [256] /Runinfo/Run number > 100",\
"Alarm Class = STRING : [32] Alarm",\
"Alarm Message = STRING : [80] Run number became too large",\
"",\
NULL }

Definition at line 1326 of file midas.h.

Referenced by al_check(), and al_trigger_alarm().

#define ALARM_PERIODIC_STR ( _name   ) 

Value:

char *_name[] = {\
"[.]",\
"Active = BOOL : n",\
"Triggered = INT : 0",\
"Type = INT : 4",\
"Check interval = INT : 28800",\
"Checked last = DWORD : 0",\
"Time triggered first = STRING : [32] ",\
"Time triggered last = STRING : [32] ",\
"Condition = STRING : [256] ",\
"Alarm Class = STRING : [32] Warning",\
"Alarm Message = STRING : [80] Please do your shift checks",\
"",\
NULL }

Definition at line 1341 of file midas.h.

Referenced by al_check().

#define AT_EVALUATED   3

Definition at line 1263 of file midas.h.

Referenced by al_check(), and al_trigger_alarm().

#define AT_INTERNAL   1

Definition at line 1261 of file midas.h.

#define AT_LAST   4

Definition at line 1265 of file midas.h.

Referenced by al_check(), and al_trigger_alarm().

#define AT_PERIODIC   4

Definition at line 1264 of file midas.h.

Referenced by al_check(), and al_trigger_alarm().

#define AT_PROGRAM   2

Definition at line 1262 of file midas.h.

Referenced by al_check().

#define PROGRAM_INFO_STR ( _name   ) 

Value:

char *_name[] = {\
"[.]",\
"Required = BOOL : n",\
"Watchdog timeout = INT : 10000",\
"Check interval = DWORD : 180000",\
"Start command = STRING : [256] ",\
"Auto start = BOOL : n",\
"Auto stop = BOOL : n",\
"Auto restart = BOOL : n",\
"Alarm class = STRING : [32] ",\
"First failed = DWORD : 0",\
"",\
NULL }

Definition at line 1267 of file midas.h.

Referenced by cm_set_client_info().


Midas DOC Version 2.0.2 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk