mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
fix: implement DestinationListKey on EssentialsRoomBase
This commit is contained in:
parent
285d87d8ac
commit
3b55d6af93
1 changed files with 10 additions and 2 deletions
|
|
@ -18,8 +18,6 @@ namespace PepperDash.Essentials.Core
|
|||
/// </summary>
|
||||
public abstract class EssentialsRoomBase : ReconfigurableDevice, IEssentialsRoom
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
|
@ -79,6 +77,8 @@ namespace PepperDash.Essentials.Core
|
|||
}
|
||||
}
|
||||
|
||||
public string DestinationListKey { get; private set; }
|
||||
|
||||
protected const string _defaultSourceListKey = "default";
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -194,6 +194,14 @@ namespace PepperDash.Essentials.Core
|
|||
}
|
||||
}
|
||||
|
||||
protected void SetDestinationListKey(string destinationListKey)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(destinationListKey))
|
||||
{
|
||||
DestinationListKey = destinationListKey;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// If mobile control is enabled, sets the appropriate properties
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue