feat(triggers): add Expression to the script & alarm trigger codecs

This commit is contained in:
Joseph Doherty
2026-05-16 05:27:33 -04:00
parent 8050a1996f
commit 199cdbe798
3 changed files with 38 additions and 5 deletions

View File

@@ -11,5 +11,11 @@ public enum AlarmTriggerType
/// may carry its own priority; transitions between levels emit a fresh
/// AlarmStateChanged with the corresponding <see cref="AlarmLevel"/>.
/// </summary>
HiLo
HiLo,
/// <summary>
/// Read-only boolean C# expression evaluated on attribute updates. The
/// trigger fires when the expression evaluates to <c>true</c>.
/// </summary>
Expression
}