feat: add IVideoSync interface & implement on IRoutingInputSlot

This commit is contained in:
Andrew Welker
2024-03-12 10:51:52 -05:00
parent 3b55d6af93
commit a5460f16cd
3 changed files with 19 additions and 3 deletions

View 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;
}
}

View File

@@ -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);
} }
} }

View File

@@ -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; }
} }
} }