mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 12:24:59 +00:00
21 lines
818 B
C#
21 lines
818 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace PepperDash.Essentials.Core
|
|
{
|
|
/// <summary>
|
|
/// Defines a midpoint device as have internal routing. Any devices in the middle of the
|
|
/// signal chain, that do switching, must implement this for routing to work otherwise
|
|
/// the routing algorithm will treat the IRoutingInputsOutputs device as a passthrough
|
|
/// device.
|
|
/// </summary>
|
|
public interface IRouting : IRoutingInputsOutputs
|
|
{
|
|
void ExecuteSwitch(object inputSelector, object outputSelector, eRoutingSignalType signalType);
|
|
}
|
|
|
|
/*public interface IRouting<TInputSelector,TOutputSelector> : IRoutingInputsOutputs
|
|
{
|
|
void ExecuteSwitch(TInputSelector inputSelector, TOutputSelector outputSelector, eRoutingSignalType signalType);
|
|
}*/
|
|
} |