OPC UA Part 9 alarms raised by C# predicate scripts. To author scripted alarms, open a cluster
draft and use the Scripted Alarms tab in the draft editor.
This view lists all scripted alarms across clusters and generations for reference.
@if (_alarms is not null) { @_alarms.Count alarm@(_alarms.Count == 1 ? "" : "s") }
@if (_loading)
{
Loading…
}
else if (_alarms is null || _alarms.Count == 0)
{
No scripted alarms found for the selected filter.
Open a cluster draft and use the Scripted Alarms tab to author scripted alarms.
}
else
{
Scripted alarms
Name
Equipment
Type
Severity
Message template
Predicate script
Historize
Retain
Enabled
Generation
@foreach (var a in _alarms)
{
@a.Name
@a.EquipmentId
@a.AlarmType
@a.Severity @SeverityBand(a.Severity)
@a.MessageTemplate
@a.PredicateScriptId
@if (a.HistorizeToAveva) { Aveva }
else { — }
@if (a.Retain) { yes }
else { — }
@if (a.Enabled) { enabled }
else { disabled }
@a.GenerationId
@if (DraftLink(a.GenerationId) is { } link)
{
Edit draft
}