mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +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>
|
/// </summary>
|
||||||
public abstract class EssentialsRoomBase : ReconfigurableDevice, IEssentialsRoom
|
public abstract class EssentialsRoomBase : ReconfigurableDevice, IEssentialsRoom
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -79,6 +77,8 @@ namespace PepperDash.Essentials.Core
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string DestinationListKey { get; private set; }
|
||||||
|
|
||||||
protected const string _defaultSourceListKey = "default";
|
protected const string _defaultSourceListKey = "default";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -194,6 +194,14 @@ namespace PepperDash.Essentials.Core
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void SetDestinationListKey(string destinationListKey)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(destinationListKey))
|
||||||
|
{
|
||||||
|
DestinationListKey = destinationListKey;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If mobile control is enabled, sets the appropriate properties
|
/// If mobile control is enabled, sets the appropriate properties
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue