Implementation of feature/glspartcn-partition-sensor

Resolves #270
This commit is contained in:
Jason DeVito
2020-06-30 10:06:39 -05:00
parent e8a8d481aa
commit 8f35d13d4b
25 changed files with 1154 additions and 642 deletions

View File

@@ -159,8 +159,8 @@ namespace PepperDash.Essentials.DM
public abstract class BasicDmTxControllerBase : CrestronGenericBridgeableBaseDevice
{
protected BasicDmTxControllerBase(string key, string name, GenericBase hardware)
: base(key, name, hardware)
protected BasicDmTxControllerBase(string key, string name, GenericBase sensor)
: base(key, name, sensor)
{
}
@@ -177,18 +177,18 @@ namespace PepperDash.Essentials.DM
public abstract StringFeedback ActiveVideoInputFeedback { get; protected set; }
public RoutingInputPortWithVideoStatuses AnyVideoInput { get; protected set; }
protected DmTxControllerBase(string key, string name, EndpointTransmitterBase hardware)
: base(key, name, hardware)
protected DmTxControllerBase(string key, string name, EndpointTransmitterBase sensor)
: base(key, name, sensor)
{
// if wired to a chassis, skip registration step in base class
if (hardware.DMInput != null)
if (sensor.DMInput != null)
{
this.PreventRegistration = true;
}
AddToFeedbackList(ActiveVideoInputFeedback);
}
protected DmTxControllerBase(string key, string name, DmHDBasedTEndPoint hardware) : base(key, name, hardware)
protected DmTxControllerBase(string key, string name, DmHDBasedTEndPoint sensor) : base(key, name, sensor)
{
}
@@ -224,7 +224,7 @@ namespace PepperDash.Essentials.DM
bool hdcpTypeSimple;
if (tx.Hardware is DmTx4kX02CBase)
if (tx.Sensor is DmTx4kX02CBase)
hdcpTypeSimple = false;
else
hdcpTypeSimple = true;