From a0314247521fd0dc2ac61d43cb10c77c37e96333 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Wed, 30 Jul 2025 11:20:54 -0500 Subject: [PATCH] fix: add destination & source keys to routelist --- src/Directory.Build.props | 2 +- .../Devices/SourceListItem.cs | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 152c9f18..f65b37a0 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,6 +1,6 @@ - 2.4.0-local + 2.12.0-local $(Version) PepperDash Technology PepperDash Technology diff --git a/src/PepperDash.Essentials.Core/Devices/SourceListItem.cs b/src/PepperDash.Essentials.Core/Devices/SourceListItem.cs index d171b3d9..e6724760 100644 --- a/src/PepperDash.Essentials.Core/Devices/SourceListItem.cs +++ b/src/PepperDash.Essentials.Core/Devices/SourceListItem.cs @@ -244,6 +244,20 @@ namespace PepperDash.Essentials.Core /// [JsonProperty("type")] public eRoutingSignalType Type { get; set; } + + /// + /// Key for a destination list item. If BOTH SourceListItemKey AND DestinationListItemKey are defined, + /// then the direct route method should be used. + /// + [JsonProperty("destinationListItemKey", NullValueHandling = NullValueHandling.Ignore)] + public string DestinationListItemKey { get; set; } + + /// + /// Key for a source list item. If BOTH SourceListItemKey AND DestinationListItemKey are defined, + /// then the direct route method should be used. + /// + [JsonProperty("sourceListItemKey", NullValueHandling = NullValueHandling.Ignore)] + public string SourceListItemKey { get; set; } } ///