feat(scripts): ScriptAlarm.IsMesReportable + Alarms.MesReportableAsync() mirrored on both compile surfaces
Claude-Session: https://claude.ai/code/session_01Y5ef34iUUMjmwnMpL9xgmB
This commit is contained in:
@@ -55,6 +55,10 @@ namespace ZB.MOM.WW.ScadaBridge.Commons.Types.Scripts;
|
||||
/// True for a placeholder row standing in for a CONFIGURED native source binding that
|
||||
/// currently holds no conditions. Scripts enumerating real alarms should filter these out.
|
||||
/// </param>
|
||||
/// <param name="IsMesReportable">
|
||||
/// True when the deployed configuration flags the alarm as MES-reportable (template
|
||||
/// checkbox or instance override). Always false for native conditions.
|
||||
/// </param>
|
||||
public sealed record ScriptAlarm(
|
||||
string Name,
|
||||
string SourceReference,
|
||||
@@ -76,4 +80,5 @@ public sealed record ScriptAlarm(
|
||||
DateTimeOffset? AckTime,
|
||||
string CurrentValue,
|
||||
string LimitValue,
|
||||
bool IsConfiguredPlaceholder);
|
||||
bool IsConfiguredPlaceholder,
|
||||
bool IsMesReportable = false);
|
||||
|
||||
Reference in New Issue
Block a user