Implments IBridgeAdvanced on CrestronGenericBaseDevice

This commit is contained in:
Neil Dorin 2020-09-30 13:18:01 -06:00
parent f036c3f1cc
commit d43c13f29b

View file

@ -11,7 +11,7 @@ namespace PepperDash.Essentials.Core
/// <summary> /// <summary>
/// A bridge class to cover the basic features of GenericBase hardware /// A bridge class to cover the basic features of GenericBase hardware
/// </summary> /// </summary>
public abstract class CrestronGenericBaseDevice : EssentialsDevice, IOnline, IHasFeedback, ICommunicationMonitor, IUsageTracking public abstract class CrestronGenericBaseDevice : EssentialsDevice, IOnline, IHasFeedback, ICommunicationMonitor, IUsageTracking, IBridgeAdvanced
{ {
protected GenericBase Hardware; protected GenericBase Hardware;
@ -62,6 +62,8 @@ namespace PepperDash.Essentials.Core
CommunicationMonitor = new CrestronGenericBaseCommunicationMonitor(this, hardware, 120000, 300000); CommunicationMonitor = new CrestronGenericBaseCommunicationMonitor(this, hardware, 120000, 300000);
} }
public abstract void LinkToApi(BasicTriList trilist, uint joinStart, string joinMapKey, EiscApiAdvanced bridge);
/// <summary> /// <summary>
/// Make sure that overriding classes call this! /// Make sure that overriding classes call this!
/// Registers the Crestron device, connects up to the base events, starts communication monitor /// Registers the Crestron device, connects up to the base events, starts communication monitor