mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
feat: add IVideoSync interface & implement on IRoutingInputSlot
This commit is contained in:
16
src/PepperDash.Essentials.Core/Routing/IInputSync.cs
Normal file
16
src/PepperDash.Essentials.Core/Routing/IInputSync.cs
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
using PepperDash.Core;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace PepperDash.Essentials.Core.Routing
|
||||||
|
{
|
||||||
|
public interface IVideoSync: IKeyed
|
||||||
|
{
|
||||||
|
bool VideoSyncDetected { get; }
|
||||||
|
|
||||||
|
event EventHandler VideoSyncChanged;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,5 +6,7 @@ namespace PepperDash.Essentials.Core.Routing
|
|||||||
{
|
{
|
||||||
Dictionary<string, IRoutingInputSlot> InputSlots { get; }
|
Dictionary<string, IRoutingInputSlot> InputSlots { get; }
|
||||||
Dictionary<string, IRoutingOutputSlot> OutputSlots { get; }
|
Dictionary<string, IRoutingOutputSlot> OutputSlots { get; }
|
||||||
|
|
||||||
|
void Route(string inputSlotKey, string outputSlotKey, eRoutingSignalType type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,10 +6,8 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace PepperDash.Essentials.Core.Routing
|
namespace PepperDash.Essentials.Core.Routing
|
||||||
{
|
{
|
||||||
public interface IRoutingInputSlot: IRoutingSlot, IOnline
|
public interface IRoutingInputSlot: IRoutingSlot, IOnline, IVideoSync
|
||||||
{
|
{
|
||||||
string TxDeviceKey { get; }
|
string TxDeviceKey { get; }
|
||||||
|
|
||||||
bool SyncDetected { get; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user