fix(m9/T26a): HiLo per-setpoint merge in resolver (preview=deploy) + widen staleness comparison

This commit is contained in:
Joseph Doherty
2026-06-18 12:51:58 -04:00
parent 10c08dd309
commit ca6e5da34b
3 changed files with 397 additions and 80 deletions
@@ -93,6 +93,16 @@ public sealed record ResolvedTemplateMemberInfo
/// no single scalar value.
/// </summary>
public string? EffectiveValue { get; init; }
/// <summary>
/// For ALARM members only: the effective (inheritance-resolved) trigger
/// configuration JSON — for HiLo alarms this is the per-setpoint MERGED
/// config (a derived template overriding only <c>hi</c> inherits the base
/// <c>lo</c>), identical to what the flattener produces on deploy, so the
/// editor can render the effective HiLo thresholds. Null for non-alarm
/// members and for alarms with no trigger configuration.
/// </summary>
public string? EffectiveTriggerConfiguration { get; init; }
}
/// <summary>