Merge pull request #1292 from PepperDash/portkey-add

feat: add destination and source port key properties for advanced routing
This commit is contained in:
Andrew Welker
2025-07-22 15:26:44 -05:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -113,5 +113,12 @@ namespace PepperDash.Essentials.Core
/// </summary>
[JsonProperty("supportsUsb")]
public bool SupportsUsb { get; set; }
/// <summary>
/// The key of the destination port associated with this destination item
/// This is used to identify the specific port on the destination device that this item refers to for advanced routing
/// </summary>
[JsonProperty("destinationPortKey")]
public string DestinationPortKey { get; set; }
}
}

View File

@@ -180,6 +180,13 @@ namespace PepperDash.Essentials.Core
[JsonProperty("supportsUsb")]
public bool SupportsUsb { get; set; }
/// <summary>
/// The key of the source port associated with this source item
/// This is used to identify the specific port on the source device that this item refers to for advanced routing
/// </summary>
[JsonProperty("sourcePortKey")]
public string SourcePortKey { get; set; }
/// <summary>
/// Default constructor for SourceListItem, initializes the Icon to "Blank"