Index: AlarmDefs.h =================================================================== diff -u -r8219c9f20e276239665c0e1ba6ae573c1085aa7d -rf141c4b3acce90dcaa9e192914f3550bec646004 --- AlarmDefs.h (.../AlarmDefs.h) (revision 8219c9f20e276239665c0e1ba6ae573c1085aa7d) +++ AlarmDefs.h (.../AlarmDefs.h) (revision f141c4b3acce90dcaa9e192914f3550bec646004) @@ -1,6 +1,6 @@ /**********************************************************************//** * - * Copyright (c) 2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. @@ -20,7 +20,7 @@ // ********** public definitions ********** /// Enumeration of alarm IDs. -typedef enum Alarm_List +enum Alarm_List { ALARM_ID_NO_ALARM = 0, ///< Indication for when no alarms is a possible situation. ALARM_ID_SOFTWARE_FAULT = 1, ///< Software fault. Software found itself in an unexpected state. @@ -70,15 +70,19 @@ ALARM_ID_NVDATA_HW_USAGE_DATA_CRC_ERROR = 45, ///< HW usage data (treatment time in HD and total consumed water in DG) failure. AlARM_ID_NVDATA_DISINFECTION_DATE_CRC_ERROR = 46, ///< Last disinfection date CRC error NUM_OF_ALARM_IDS ///< Total # of alarms. -} ALARM_ID_T; +}; +/// Type for alarm list enumeration. +typedef enum Alarm_List ALARM_ID_T; -typedef enum 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. ALARM_PRIORITY_HIGH = 3, ///< High priority alarm. NUM_OF_ALARM_PRIORITIES ///< Total # of alarm priorities. -} ALARM_PRIORITY_T; +}; +/// Type for alarm priorities enumeration. +typedef enum Alarm_Priorities ALARM_PRIORITY_T; #endif