feat(uns): scripted-alarm CRUD in IUnsTreeService for the equipment Alarms tab
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
|
||||
/// <summary>A scripted-alarm row for the Alarms-tab table.</summary>
|
||||
public sealed record EquipmentAlarmRow(string ScriptedAlarmId, string Name, string AlarmType, int Severity, string PredicateScriptId, bool Enabled);
|
||||
|
||||
/// <summary>A scripted alarm projected for editing, with the concurrency token the modal echoes back.</summary>
|
||||
public sealed record ScriptedAlarmEditDto(
|
||||
string ScriptedAlarmId, string EquipmentId, string Name, string AlarmType, int Severity, string MessageTemplate,
|
||||
string PredicateScriptId, bool HistorizeToAveva, bool Retain, bool Enabled, byte[] RowVersion);
|
||||
Reference in New Issue
Block a user