mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 21:24:54 +00:00
refactor: Changes IRoutingHasSync interface
- Changed IRoutingHasSync interface to IRoutingHasVideoInputSyncFeedbacks. - Remvoed IRoutingHasSynDelegate - Added interface to HdPsXxxController class
This commit is contained in:
@@ -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);
|
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user