From 3b55d6af931bebdf91e1dc6672df9b5b0ebf9d93 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Fri, 8 Mar 2024 23:06:26 -0600 Subject: [PATCH] fix: implement DestinationListKey on EssentialsRoomBase --- .../Room/EssentialsRoomBase.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/PepperDash.Essentials.Core/Room/EssentialsRoomBase.cs b/src/PepperDash.Essentials.Core/Room/EssentialsRoomBase.cs index d3b78112..17d151c4 100644 --- a/src/PepperDash.Essentials.Core/Room/EssentialsRoomBase.cs +++ b/src/PepperDash.Essentials.Core/Room/EssentialsRoomBase.cs @@ -18,8 +18,6 @@ namespace PepperDash.Essentials.Core /// public abstract class EssentialsRoomBase : ReconfigurableDevice, IEssentialsRoom { - - /// /// /// @@ -79,6 +77,8 @@ namespace PepperDash.Essentials.Core } } + public string DestinationListKey { get; private set; } + protected const string _defaultSourceListKey = "default"; /// @@ -194,6 +194,14 @@ namespace PepperDash.Essentials.Core } } + protected void SetDestinationListKey(string destinationListKey) + { + if (!string.IsNullOrEmpty(destinationListKey)) + { + DestinationListKey = destinationListKey; + } + } + /// /// If mobile control is enabled, sets the appropriate properties ///