fix: remove generics from matrix routing interfaces

This commit is contained in:
Andrew Welker
2024-04-09 08:33:58 -05:00
parent 8a374072ae
commit 1fdaa84a62
3 changed files with 7 additions and 38 deletions

View File

@@ -3,24 +3,12 @@ using System.Collections.Generic;
namespace PepperDash.Essentials.Core.Routing
{
public interface IRoutingOutputSlot<TInput> : IRoutingSlot where TInput: IRoutingInputSlot
public interface IRoutingOutputSlot : IRoutingSlot
{
event EventHandler OutputSlotChanged;
string RxDeviceKey { get; }
Dictionary<eRoutingSignalType, TInput> CurrentRoutes { get; }
}
public abstract class RoutingOutputSlotBase<TInput> : IRoutingOutputSlot<TInput> where TInput: IRoutingInputSlot
{
public abstract string RxDeviceKey { get; }
public abstract Dictionary<eRoutingSignalType, TInput> CurrentRoutes { get; }
public abstract int SlotNumber { get; }
public abstract eRoutingSignalType SupportedSignalTypes { get; }
public abstract string Name { get; }
public abstract string Key { get; }
public abstract event EventHandler OutputSlotChanged;
}
Dictionary<eRoutingSignalType, IRoutingInputSlot> CurrentRoutes { get; }
}
}