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; FeedbackCollection<BoolFeedback> VideoInputSyncFeedbacks { get; }
} }
public delegate void RoutingSyncProviderDelegate(uint inputNumber, bool hasSync);
} }

View File

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