Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -r6638c6167a7f771fbbccaedebed5023643523f94 -r3833c8a7a90288a6010a625a884048c775c598d3 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 6638c6167a7f771fbbccaedebed5023643523f94) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 3833c8a7a90288a6010a625a884048c775c598d3) @@ -711,6 +711,20 @@ /*********************************************************************//** * @brief + * The doesAlarmStatusIndicateEndTxOnly function determines whether any currently + * active alarm has ( stop && noRes && /noET ) property, that is end treatment is + * the only choice from full stop. + * @details Inputs: alarmStatus + * @details Outputs: none + * @return TRUE if any active alarm has stop property, FALSE if not + *************************************************************************/ +BOOL doesAlarmStatusIndicateEndTxOnly( void ) +{ + return ( ( ( TRUE == alarmStatus.stop ) && ( TRUE == alarmStatus.noResume ) && ( FALSE == alarmStatus.noEndTreatment ) ) ? TRUE : FALSE ); +} + +/*********************************************************************//** + * @brief * The doesAlarmStatusIndicateStop function determines whether any currently * active alarm has stop property. * @details Inputs: alarmStatus