mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
feat: add IVideoSync interface & implement on IRoutingInputSlot
This commit is contained in:
parent
3b55d6af93
commit
a5460f16cd
3 changed files with 19 additions and 3 deletions
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, IRoutingOutputSlot> OutputSlots { get; }
|
||||
|
||||
void Route(string inputSlotKey, string outputSlotKey, eRoutingSignalType type);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,10 +6,8 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace PepperDash.Essentials.Core.Routing
|
||||
{
|
||||
public interface IRoutingInputSlot: IRoutingSlot, IOnline
|
||||
public interface IRoutingInputSlot: IRoutingSlot, IOnline, IVideoSync
|
||||
{
|
||||
string TxDeviceKey { get; }
|
||||
|
||||
bool SyncDetected { get; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue