Compare commits

...

3 Commits

Author SHA1 Message Date
Neil Dorin
5b45a5caa6 feat: add audioDeviceKey property to SourceListItem and mark Destinations as obsolete 2026-04-01 13:23:14 -06:00
Evan DiLallo
305a466b1b Merge pull request #1395 from PepperDash/fix/implement-IKeyed-on-BridgeBase
feat: implement constructor for BridgeApi with key and name parameters
2026-03-12 16:30:51 -04:00
Neil Dorin
5a07e837ee feat: implement constructor for BridgeApi with key and name parameters 2026-03-12 14:27:21 -06:00
2 changed files with 20 additions and 1 deletions

View File

@@ -30,6 +30,17 @@ namespace PepperDash.Essentials.Core.Bridges
{
}
/// <summary>
/// Constructor
/// </summary>
/// <param name="key"></param>
/// <param name="name"></param>
protected BridgeApi(string key, string name) :
base(key, name)
{
}
}
/// <summary>
@@ -58,7 +69,7 @@ namespace PepperDash.Essentials.Core.Bridges
/// <param name="dc">Device configuration</param>
/// <param name="eisc">EISC instance</param>
public EiscApiAdvanced(DeviceConfig dc, BasicTriList eisc) :
base(dc.Key)
base(dc.Key, dc.Name)
{
JoinMaps = new Dictionary<string, JoinMapBaseAdvanced>();

View File

@@ -138,7 +138,9 @@ namespace PepperDash.Essentials.Core
///
/// </summary>
[JsonProperty("destinations")]
[Obsolete("This property is obsolete and will be removed in future versions.")]
public List<eSourceListItemDestinationTypes> Destinations { get; set; }
/// <summary>
/// A means to reference a source list for this source item, in the event that this source has an input that can have sources routed to it
/// </summary>
@@ -175,6 +177,12 @@ namespace PepperDash.Essentials.Core
[JsonProperty("syncProviderDeviceKey")]
public string SyncProviderDeviceKey { get; set; }
/// <summary>
/// The key of the device that provides audio for this source item
/// </summary>
[JsonProperty("audioDeviceKey")]
public string AudioDeviceKey { get; set; }
/// <summary>
/// Indicates if the source supports USB connections
/// </summary>