mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
refactor: Changes IRoutingHasSync interface
- Changed IRoutingHasSync interface to IRoutingHasVideoInputSyncFeedbacks. - Remvoed IRoutingHasSynDelegate - Added interface to HdPsXxxController class
This commit is contained in:
parent
8b6a9db7e0
commit
9fb16f30b0
2 changed files with 4 additions and 6 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue