Index: firmware/App/Services/AlarmMgmt.c =================================================================== diff -u -rc815c73569f609d3c844f3f28ce0a4b8771632b3 -r03f5d100a81e31a02bdf549e0150ae71b9a5d5e5 --- firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision c815c73569f609d3c844f3f28ce0a4b8771632b3) +++ firmware/App/Services/AlarmMgmt.c (.../AlarmMgmt.c) (revision 03f5d100a81e31a02bdf549e0150ae71b9a5d5e5) @@ -738,6 +738,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