Index: dialin/hd/alarms.py =================================================================== diff -u -r88b4967ce6b9ac816ac21b26326450de4b540887 -re022300aa83838203420fe731ed43a3684f93114 --- dialin/hd/alarms.py (.../alarms.py) (revision 88b4967ce6b9ac816ac21b26326450de4b540887) +++ dialin/hd/alarms.py (.../alarms.py) (revision e022300aa83838203420fe731ed43a3684f93114) @@ -186,8 +186,8 @@ No Resume = result & 8 No Rinseback = result & 16 No End Treatment = result & 32 - No New Treatment = result & 64 - User Must ACK = result & 128 + TBD = result & 64 + Ok Button Only = result & 128 Alarms to Escalate = result & 256 Alarms Silenced = result & 512 Alarm Lamp On = result & 1024 @@ -313,6 +313,15 @@ """ return (self.alarms_flags & 16384) > 0 + def get_alarm_flag_top_condition(self) -> bool: + """ + Gets the alarm flag top condition. + + @return: (bool) Top Alarm's condition is still being detected + """ + + return (self.alarms_flags & 32768) > 0 + def clear_dialin_alarms(self): """ Clears the alarms states in Dialin.