Exposed ICEC to DGE Controller Classes

This commit is contained in:
Trevor Payne
2020-05-12 14:55:12 -05:00
parent 0b59dbe20d
commit 4c5b60bddb
2 changed files with 18 additions and 4 deletions

View File

@@ -13,13 +13,15 @@ using PepperDash.Essentials.Core;
using PepperDash.Essentials.Core.Config;
using Crestron.SimplSharpPro.DeviceSupport;
using Crestron.SimplSharpPro.DM;
namespace PepperDash.Essentials.DM.Endpoints.DGEs
{
/// <summary>
/// Wrapper class for DGE-100 and DM-DGE-200-C
/// </summary>
public class DmDge200CController : CrestronGenericBaseDevice, IComPorts, IIROutputPorts,
IHasBasicTriListWithSmartObject, IRoutingInputsOutputs
public class DmDge200CController : CrestronGenericBaseDevice, IComPorts, IIROutputPorts,
IHasBasicTriListWithSmartObject, IRoutingInputsOutputs, ICec
{
private readonly DmDge200C _dge;
@@ -95,6 +97,10 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
#endregion
#region ICec Members
public Cec StreamCec { get { return _dge.HdmiOut.StreamCec; } }
#endregion
}
public class DmDge200CControllerFactory : EssentialsDeviceFactory<Dge100Controller>