I need some syntax help here.
I have created a gateway timer script that toggles a control if there are unacked alarms.
The customer wants a one hour timeout to allow someone time to ack the alarm before I toggle the control again.
What I came up with was:
if (any_alarms) :
event.source.delay = 60 * 60 * 1000
event.source.delay = 5000
The problem is the [tt]event.source.delay = x[/tt] doesn’t seem to work. What should it be?