[FEATURE] Alarm Metrics - Add overall "Status" integer

In the diy version I was using in previous versions, I had a single “Status” integer tag that summarised all alarm states in the folder, e.g.

if({[.]Active Unack}, 1, // Alarms active and unacked
if({[.]Active Ack}, 2, // ALarms active but all ackd
if({[.]Clear Unack}, -1, // Alarms all cleared but unacked
0))) // No alarms active or unackd

I used this in the display bindings for alarm symbols/colour to make them:

  • flash (unacked alarms exist; Status = 1)
  • solid (all alarms acked but still active; Status = 2), and
  • to display it at all (Status > 0)

I also had a tag with the highest priority as an integer (in the Alarm Metrics there’s only a string version) so that I could more easily find the min/max from a list of priority values. E.g. if you want to know the max/min priority for a range of folders.