docs(triggers): list the Expression config shape in the codec summaries

This commit is contained in:
Joseph Doherty
2026-05-16 05:30:12 -04:00
parent 199cdbe798
commit f789ab4a91
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ namespace ScadaLink.CentralUI.Components.Shared;
/// RateOfChange { attributeName, thresholdPerSecond, windowSeconds, direction }
/// HiLo { attributeName, loLo, lo, hi, hiHi,
/// loLoPriority, loPriority, hiPriority, hiHiPriority }
/// Expression { expression }
///
/// All HiLo setpoints and per-setpoint priorities are optional — any subset
/// is valid (e.g., only Hi/HiHi configured for over-temperature protection).

View File

@@ -43,6 +43,7 @@ internal sealed class ScriptTriggerModel
/// ValueChange { attributeName }
/// Conditional { attributeName, operator, threshold }
/// Call { }
/// Expression { expression }
///
/// Parsing also accepts the legacy aliases <c>attribute</c> and <c>value</c> so
/// older configs survive a round-trip through the editor.