feat(transport): carry IsMesReportable / IsMesReportableOverride through bundles (round-trip guard extended)

Claude-Session: https://claude.ai/code/session_01Y5ef34iUUMjmwnMpL9xgmB
This commit is contained in:
Joseph Doherty
2026-09-11 10:00:00 -04:00
parent af10af1573
commit 43973d34de
8 changed files with 178 additions and 7 deletions
@@ -238,6 +238,7 @@ public sealed class RoundTripEquivalenceTests : IDisposable
TriggerType = AlarmTriggerType.RangeViolation,
TriggerConfiguration = "{\"threshold\":100}",
LockedInDerived = true,
IsMesReportable = true,
});
tpl.NativeAlarmSources.Add(new TemplateNativeAlarmSource("Boiler")
{
@@ -809,6 +810,9 @@ public sealed class RoundTripEquivalenceTests : IDisposable
{
TriggerConfigurationOverride = "{\"hi\":90}",
PriorityLevelOverride = 7,
// Non-default for a bool? (whose default is null), so the reflection
// sweep fails loudly if the DTO drops the field.
IsMesReportableOverride = false,
});
instance.NativeAlarmSourceOverrides.Add(new InstanceNativeAlarmSourceOverride("NativeSrc")
{