mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-09 09:45:06 +00:00
fix: add base classes for input/output slots for matrix routing
This commit is contained in:
@@ -3,12 +3,24 @@ using System.Collections.Generic;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Routing
|
||||
{
|
||||
public interface IRoutingOutputSlot:IRoutingSlot
|
||||
public interface IRoutingOutputSlot : IRoutingSlot
|
||||
{
|
||||
event EventHandler OutputSlotChanged;
|
||||
|
||||
string RxDeviceKey { get; }
|
||||
|
||||
Dictionary<eRoutingSignalType, IRoutingInputSlot> CurrentRoutes { get; }
|
||||
Dictionary<eRoutingSignalType, RoutingInputSlotBase> CurrentRoutes { get; }
|
||||
}
|
||||
|
||||
public abstract class RoutingOutputSlotBase : IRoutingOutputSlot
|
||||
{
|
||||
public abstract string RxDeviceKey { get; }
|
||||
public abstract Dictionary<eRoutingSignalType, RoutingInputSlotBase> 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user