refactor: Changes IRoutingHasSync interface

- Changed IRoutingHasSync interface to IRoutingHasVideoInputSyncFeedbacks.
- Remvoed IRoutingHasSynDelegate
- Added interface to HdPsXxxController class
This commit is contained in:
Jason DeVito
2023-09-13 10:02:20 -05:00
parent 8b6a9db7e0
commit 9fb16f30b0
2 changed files with 4 additions and 6 deletions

View File

@@ -205,10 +205,8 @@ namespace PepperDash.Essentials.Core
}
}
public interface IRoutingSyncProvider
public interface IRoutingHasVideoInputSyncFeedbacks
{
event RoutingSyncProviderDelegate SyncChanged;
}
public delegate void RoutingSyncProviderDelegate(uint inputNumber, bool hasSync);
FeedbackCollection<BoolFeedback> VideoInputSyncFeedbacks { get; }
}
}

View File

@@ -15,7 +15,7 @@ using PepperDash_Essentials_DM.Config;
namespace PepperDash_Essentials_DM.Chassis
{
[Description("Wrapper class for all HdPsXxx switchers")]
public class HdPsXxxController : CrestronGenericBridgeableBaseDevice, IRoutingNumericWithFeedback
public class HdPsXxxController : CrestronGenericBridgeableBaseDevice, IRoutingNumericWithFeedback, IRoutingHasVideoInputSyncFeedbacks
{
private readonly HdPsXxx _chassis;
//private byte[] _inputPriorityParams;