Index: AlarmDefs.h =================================================================== diff -u -r33ed89b29b51969a52693336a9454cbf749ee137 -r1c385cdd37adc4661bbfcc7b9a7891d2ea7655aa --- AlarmDefs.h (.../AlarmDefs.h) (revision 33ed89b29b51969a52693336a9454cbf749ee137) +++ AlarmDefs.h (.../AlarmDefs.h) (revision 1c385cdd37adc4661bbfcc7b9a7891d2ea7655aa) @@ -14,17 +14,17 @@ * @date (original) 11-Feb-2020 * ***************************************************************************/ - -#ifndef __ALARM_DEFINITIONS_H__ -#define __ALARM_DEFINITIONS_H__ - -// ********** public definitions ********** +#ifndef __ALARM_DEFINITIONS_H__ +#define __ALARM_DEFINITIONS_H__ + +// ********** public definitions ********** + /** * @addtogroup AlarmManagement * @{ */ - + #define ALM_ESC_1_MIN (1 * 60000) ///< Number of ms in 1 minute. #define ALM_ESC_4_MIN (4 * 60000) ///< Number of ms in 4 minutes. #define ALM_ESC_5_MIN (5 * 60000) ///< Number of ms in 5 minutes. @@ -292,13 +292,23 @@ ALARM_ID_DG_INVALID_SERVICE_RECORD = 254, ///< DG invalid service record ALARM_ID_HD_UI_COMPATIBILITY_ERROR = 255, ///< HD and UI software builds are not compatible ALARM_ID_HD_DG_COMPATIBILITY_ERROR = 256, ///< HD and DG software builds are not compatible + + // UI Alarm IDs + ALARM_ID_UI_POST_FAILURE_CAN , ///< UI POST CANBus failure. + ALARM_ID_UI_POST_FAILURE_TOUCH , ///< UI POST Touch failure. + ALARM_ID_UI_POST_FAILURE_SDCARD , ///< UI POST SD-Card failure. + ALARM_ID_UI_POST_FAILURE_CRC , ///< UI POST CRC failure. + ALARM_ID_UI_POST_FAILURE_WIFI , ///< UI POST WiFi failure. + ALARM_ID_UI_POST_FAILURE_BLUETOOTH , ///< UI POST Bluetooth failure. + ALARM_ID_UI_POST_FAILURE_ETHERNET , ///< UI POST Ethernet failure. + NUM_OF_ALARM_IDS ///< Total number of alarms }; typedef enum Alarm_List ALARM_ID_T; ///< Type for alarm list enumeration -/// Enumeration of alarm priorities. -enum Alarm_Priorities -{ +/// Enumeration of alarm priorities. +enum Alarm_Priorities +{ ALARM_PRIORITY_NONE = 0, ///< Indicates not an alarm or no alarms active at this time ALARM_PRIORITY_LOW = 1, ///< Low priority alarm ALARM_PRIORITY_MEDIUM = 2, ///< Medium priority alarm @@ -934,5 +944,5 @@ #endif // included by AlarmMgmt.c /**@}*/ - + #endif