Hi I'm having a problem
in Alarm Server Settings:
I had set trigger so that if Any Active, Set Tag (Buzzer = 1)
the problem for me is that
I want a trigger where if ALL Alarms are inactive or ALL acknowledged, Set Tag (Buzzer = 0)
the Trigger only includes..
Before Action settings Had tried this in Alarm Server script: but it didn't work for me for some reason...
namespace Neo.ApplicationFramework.Generated
{
using System.Windows.Forms;
using System;
using System.Drawing;
using Neo.ApplicationFramework.Tools;
using Neo.ApplicationFramework.Common.Graphics.Logic;
using Neo.ApplicationFramework.Controls;
using Neo.ApplicationFramework.Interfaces;
public partial class AlarmServer
{
void AlarmServer_AlarmsChanged(System.Object sender, Neo.ApplicationFramework.Interfaces.Events.AlarmEventsEventArgs e)
{
if (Globals.AlarmServer.IsAnyActive)
{
Globals.Tags.Buzzer.Value = true;
}
else Globals.Tags.Buzzer.Value = false;
}
}
}
any help would be great thank you.