From f789ab4a9174407d21f6c736bd3948d677542c48 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Sat, 16 May 2026 05:30:12 -0400 Subject: [PATCH] docs(triggers): list the Expression config shape in the codec summaries --- .../Components/Shared/AlarmTriggerConfigCodec.cs | 1 + .../Components/Shared/ScriptTriggerConfigCodec.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ScadaLink.CentralUI/Components/Shared/AlarmTriggerConfigCodec.cs b/src/ScadaLink.CentralUI/Components/Shared/AlarmTriggerConfigCodec.cs index 48ac61d..457d0bb 100644 --- a/src/ScadaLink.CentralUI/Components/Shared/AlarmTriggerConfigCodec.cs +++ b/src/ScadaLink.CentralUI/Components/Shared/AlarmTriggerConfigCodec.cs @@ -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). diff --git a/src/ScadaLink.CentralUI/Components/Shared/ScriptTriggerConfigCodec.cs b/src/ScadaLink.CentralUI/Components/Shared/ScriptTriggerConfigCodec.cs index fa4d4c9..835dad5 100644 --- a/src/ScadaLink.CentralUI/Components/Shared/ScriptTriggerConfigCodec.cs +++ b/src/ScadaLink.CentralUI/Components/Shared/ScriptTriggerConfigCodec.cs @@ -43,6 +43,7 @@ internal sealed class ScriptTriggerModel /// ValueChange { attributeName } /// Conditional { attributeName, operator, threshold } /// Call { } +/// Expression { expression } /// /// Parsing also accepts the legacy aliases attribute and value so /// older configs survive a round-trip through the editor.