1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2020-2021] [HCL Technologies Ltd.] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
19 /* This file contains definitions of Alarm structure */
21 #ifndef __ALARM_MESSAGES_H__
22 #define __ALARM_MESSAGES_H__
25 #include "CommonMessages.h"
26 #define ALRM_ID_SIZE 10
27 #define OBJ_INST_SIZE 15
29 #define DATE_TIME_SIZE 30
43 COMMUNICATIONS_ALARM = 2,
44 QUALITY_OF_SERVICE_ALARM = 3,
45 PROCESSING_ERROR_ALARM = 4,
47 ENVIRONMENTAL_ALARM = 6,
48 INTEGRITY_VIOLATION = 7,
49 OPERATIONAL_VIOLATION = 8,
50 PHYSICAL_VIOLATION = 9,
51 SECURITY_SERVICE_OR_MECHANISM_VIOLATION = 10,
52 TIME_DOMAIN_VIOLATION = 11
60 char objectClassObjectInstance[OBJ_INST_SIZE];
61 char alarmId[ALRM_ID_SIZE];
62 char alarmRaiseTime[DATE_TIME_SIZE];
63 char alarmChangeTime[DATE_TIME_SIZE];
64 char alarmClearTime[DATE_TIME_SIZE];
65 char probableCause[TEXT_SIZE];
66 SeverityLevel perceivedSeverity;
67 char rootCauseIndicator[TEXT_SIZE];
68 char additionalText[TEXT_SIZE];
69 char additionalInfo[TEXT_SIZE];
70 char specificProblem[TEXT_SIZE];
75 /**********************************************************************
77 **********************************************************************/