From 81a01b7960f5dd5c96f543fabcc2502aae3dd46a Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Fri, 2 May 2025 12:16:59 -0500 Subject: [PATCH] fix: add correct interfaces for feedback --- .../Generic/GenericSink.cs | 2 +- .../SoftCodec/GenericSoftCodec.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/PepperDash.Essentials.Devices.Common/Generic/GenericSink.cs b/src/PepperDash.Essentials.Devices.Common/Generic/GenericSink.cs index cc9bc1e2..618924cd 100644 --- a/src/PepperDash.Essentials.Devices.Common/Generic/GenericSink.cs +++ b/src/PepperDash.Essentials.Devices.Common/Generic/GenericSink.cs @@ -7,7 +7,7 @@ using System.Collections.Generic; namespace PepperDash.Essentials.Devices.Common.Generic { - public class GenericSink : EssentialsDevice, IRoutingSink + public class GenericSink : EssentialsDevice, IRoutingSinkWithInputPort { public GenericSink(string key, string name) : base(key, name) { diff --git a/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs b/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs index 7fdad9b4..84847f35 100644 --- a/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs +++ b/src/PepperDash.Essentials.Devices.Common/SoftCodec/GenericSoftCodec.cs @@ -8,9 +8,10 @@ using System.Linq; namespace PepperDash.Essentials.Devices.Common.SoftCodec { - public class GenericSoftCodec : EssentialsDevice, IRoutingSource, IRoutingOutputs, IRoutingSinkWithSwitching + public class GenericSoftCodec : EssentialsDevice, IRoutingSource, IRoutingSinkWithSwitchingWithInputPort { private RoutingInputPort _currentInputPort; + public RoutingInputPort CurrentInputPort { get => _currentInputPort; set