mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
Exposed ICEC to DGE Controller Classes
This commit is contained in:
parent
0b59dbe20d
commit
4c5b60bddb
2 changed files with 18 additions and 4 deletions
|
|
@ -6,6 +6,9 @@ using Crestron.SimplSharp;
|
||||||
using Crestron.SimplSharpPro;
|
using Crestron.SimplSharpPro;
|
||||||
using Crestron.SimplSharpPro.UI;
|
using Crestron.SimplSharpPro.UI;
|
||||||
|
|
||||||
|
using Crestron.SimplSharpPro.DM;
|
||||||
|
|
||||||
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
using PepperDash.Core;
|
using PepperDash.Core;
|
||||||
|
|
@ -18,7 +21,7 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrapper class for DGE-100 and DM-DGE-200-C
|
/// Wrapper class for DGE-100 and DM-DGE-200-C
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class Dge100Controller : CrestronGenericBaseDevice, IComPorts, IIROutputPorts, IHasBasicTriListWithSmartObject
|
public class Dge100Controller : CrestronGenericBaseDevice, IComPorts, IIROutputPorts, IHasBasicTriListWithSmartObject, ICec
|
||||||
{
|
{
|
||||||
private readonly Dge100 _dge;
|
private readonly Dge100 _dge;
|
||||||
|
|
||||||
|
|
@ -65,6 +68,11 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region ICec Members
|
||||||
|
public Cec StreamCec { get { return _dge.HdmiOut.StreamCec; } }
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Dge100ControllerFactory : EssentialsDeviceFactory<Dge100Controller>
|
public class Dge100ControllerFactory : EssentialsDeviceFactory<Dge100Controller>
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,15 @@ using PepperDash.Essentials.Core;
|
||||||
using PepperDash.Essentials.Core.Config;
|
using PepperDash.Essentials.Core.Config;
|
||||||
using Crestron.SimplSharpPro.DeviceSupport;
|
using Crestron.SimplSharpPro.DeviceSupport;
|
||||||
|
|
||||||
|
using Crestron.SimplSharpPro.DM;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrapper class for DGE-100 and DM-DGE-200-C
|
/// Wrapper class for DGE-100 and DM-DGE-200-C
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DmDge200CController : CrestronGenericBaseDevice, IComPorts, IIROutputPorts,
|
public class DmDge200CController : CrestronGenericBaseDevice, IComPorts, IIROutputPorts,
|
||||||
IHasBasicTriListWithSmartObject, IRoutingInputsOutputs
|
IHasBasicTriListWithSmartObject, IRoutingInputsOutputs, ICec
|
||||||
{
|
{
|
||||||
private readonly DmDge200C _dge;
|
private readonly DmDge200C _dge;
|
||||||
|
|
||||||
|
|
@ -95,6 +97,10 @@ namespace PepperDash.Essentials.DM.Endpoints.DGEs
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region ICec Members
|
||||||
|
public Cec StreamCec { get { return _dge.HdmiOut.StreamCec; } }
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DmDge200CControllerFactory : EssentialsDeviceFactory<Dge100Controller>
|
public class DmDge200CControllerFactory : EssentialsDeviceFactory<Dge100Controller>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue