tlemar Posted April 17, 2014 Share Posted April 17, 2014 Since I got the last one so fast, I thought I would push my luck a little bit. 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 More sharing options...
AzeoTech Posted May 1, 2014 Share Posted May 1, 2014 Duplicate alarms is now in 5.90.9. The other part we'll have to take a closer look at. Link to comment Share on other sites More sharing options...
tlemar Posted May 5, 2014 Author Share Posted May 5, 2014 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.