More Alarm Features


Recommended Posts

Since I got the last one so fast, I thought I would push my luck a little bit.   :unsure:

 

Is it possible to allow duplication of existing alarms.  I would like to be able to duplicate an existing alarm events and all.  I would be glad to do via code if I had access to the events for the alarms.  

 

Also I would like a way to reference the alarm name from within the events.  

 

Right now I have to do 

 Private string AlarmAddress = "GW_0__Overload__Alarm"
   Private string AlarmAction = "FIRED"
   
   //START CODE   
   Private string LocationName
   Private string AlarmDescription = evaluate("alarm." + AlarmAddress + ".strDescription")
   
   Private String SendTo 
   Private AlarmPriority = evaluate("alarm." + AlarmAddress + ".Priority")
Would like to do something like:
Private string AlarmAddress = Me.strName
   Private string AlarmAction = Me.Action
   
   //START CODE   
   Private string LocationName
   Private string AlarmDescription = Me.strDescription
   
   Private String SendTo 
   Private AlarmPriority = Me.Priority
This would allow my code to be identical for each alarm which would greatly simplify my coding.  

 

Link to comment
Share on other sites

  • 2 weeks later...

Te duplicate alarm feature was just what I was looking for.  It worked perfect.  Is it possible to do the same with channels and/or channel groups (ie, include event code with the duplication)?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.