mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
Attemtping to debug issue with EndpointOnlineFeedback on output cards
This commit is contained in:
@@ -46,7 +46,7 @@ namespace PepperDash.Essentials.Bridges
|
|||||||
{
|
{
|
||||||
dmChassis.InputEndpointOnlineFeedbacks[ioSlot].LinkInputSig(trilist.BooleanInput[joinMap.InputEndpointOnline + ioSlot]);
|
dmChassis.InputEndpointOnlineFeedbacks[ioSlot].LinkInputSig(trilist.BooleanInput[joinMap.InputEndpointOnline + ioSlot]);
|
||||||
}
|
}
|
||||||
else
|
else if (TxDevice != null)
|
||||||
{
|
{
|
||||||
TxDevice.IsOnline.LinkInputSig(trilist.BooleanInput[joinMap.InputEndpointOnline + ioSlot]);
|
TxDevice.IsOnline.LinkInputSig(trilist.BooleanInput[joinMap.InputEndpointOnline + ioSlot]);
|
||||||
}
|
}
|
||||||
@@ -70,7 +70,7 @@ namespace PepperDash.Essentials.Bridges
|
|||||||
{
|
{
|
||||||
dmChassis.OutputEndpointOnlineFeedbacks[ioSlot].LinkInputSig(trilist.BooleanInput[joinMap.OutputEndpointOnline + ioSlot]);
|
dmChassis.OutputEndpointOnlineFeedbacks[ioSlot].LinkInputSig(trilist.BooleanInput[joinMap.OutputEndpointOnline + ioSlot]);
|
||||||
}
|
}
|
||||||
else
|
else if (RxDevice != null)
|
||||||
{
|
{
|
||||||
RxDevice.IsOnline.LinkInputSig(trilist.BooleanInput[joinMap.OutputEndpointOnline + ioSlot]);
|
RxDevice.IsOnline.LinkInputSig(trilist.BooleanInput[joinMap.OutputEndpointOnline + ioSlot]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -588,6 +588,11 @@ namespace PepperDash.Essentials.DM
|
|||||||
InputNameFeedbacks[args.Number].FireUpdate();
|
InputNameFeedbacks[args.Number].FireUpdate();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "DMInputChange fired for Input {0} with Unhandled EventId: {1}", args.Number, args.EventId);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
///
|
///
|
||||||
@@ -597,46 +602,69 @@ namespace PepperDash.Essentials.DM
|
|||||||
|
|
||||||
//This should be a switch case JTA 2018-07-02
|
//This should be a switch case JTA 2018-07-02
|
||||||
var output = args.Number;
|
var output = args.Number;
|
||||||
if (args.EventId == DMOutputEventIds.VolumeEventId &&
|
|
||||||
VolumeControls.ContainsKey(output))
|
|
||||||
{
|
|
||||||
VolumeControls[args.Number].VolumeEventFromChassis();
|
|
||||||
}
|
|
||||||
else if (args.EventId == DMOutputEventIds.OnlineFeedbackEventId)
|
|
||||||
{
|
|
||||||
OutputEndpointOnlineFeedbacks[output].FireUpdate();
|
|
||||||
}
|
|
||||||
else if (args.EventId == DMOutputEventIds.VideoOutEventId)
|
|
||||||
{
|
|
||||||
if (Chassis.Outputs[output].VideoOutFeedback != null)
|
|
||||||
{
|
|
||||||
Debug.Console(2, this, "DMSwitchVideo:{0} Routed Input:{1} Output:{2}'", this.Name, Chassis.Outputs[output].VideoOutFeedback.Number, output);
|
|
||||||
}
|
|
||||||
if (VideoOutputFeedbacks.ContainsKey(output))
|
|
||||||
{
|
|
||||||
VideoOutputFeedbacks[output].FireUpdate();
|
|
||||||
|
|
||||||
}
|
switch (args.EventId)
|
||||||
if (OutputVideoRouteNameFeedbacks.ContainsKey(output))
|
|
||||||
{
|
|
||||||
OutputVideoRouteNameFeedbacks[output].FireUpdate();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (args.EventId == DMOutputEventIds.AudioOutEventId)
|
|
||||||
{
|
{
|
||||||
if (Chassis.Outputs[output].AudioOutFeedback != null)
|
case DMOutputEventIds.VolumeEventId:
|
||||||
|
{
|
||||||
|
if (VolumeControls.ContainsKey(output))
|
||||||
|
{
|
||||||
|
VolumeControls[args.Number].VolumeEventFromChassis();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case DMOutputEventIds.OnlineFeedbackEventId:
|
||||||
{
|
{
|
||||||
Debug.Console(2, this, "DMSwitchAudio:{0} Routed Input:{1} Output:{2}'", this.Name, Chassis.Outputs[output].AudioOutFeedback.Number, output);
|
Debug.Console(2, this, "Output {0} DMOutputEventIds.OnlineFeedbackEventId fired. State: {1}", args.Number, Chassis.Outputs[output].EndpointOnlineFeedback);
|
||||||
|
OutputEndpointOnlineFeedbacks[output].FireUpdate();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (AudioOutputFeedbacks.ContainsKey(output))
|
case DMInputEventIds.OnlineFeedbackEventId:
|
||||||
{
|
{
|
||||||
AudioOutputFeedbacks[output].FireUpdate();
|
Debug.Console(2, this, "Output {0} DMInputEventIds.OnlineFeedbackEventId fired. State: {1}", args.Number, Chassis.Outputs[output].EndpointOnlineFeedback);
|
||||||
|
OutputEndpointOnlineFeedbacks[output].FireUpdate();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case DMOutputEventIds.VideoOutEventId:
|
||||||
|
{
|
||||||
|
if (Chassis.Outputs[output].VideoOutFeedback != null)
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "DMSwitchVideo:{0} Routed Input:{1} Output:{2}'", this.Name, Chassis.Outputs[output].VideoOutFeedback.Number, output);
|
||||||
|
}
|
||||||
|
if (VideoOutputFeedbacks.ContainsKey(output))
|
||||||
|
{
|
||||||
|
VideoOutputFeedbacks[output].FireUpdate();
|
||||||
|
|
||||||
|
}
|
||||||
|
if (OutputVideoRouteNameFeedbacks.ContainsKey(output))
|
||||||
|
{
|
||||||
|
OutputVideoRouteNameFeedbacks[output].FireUpdate();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case DMOutputEventIds.AudioOutEventId:
|
||||||
|
{
|
||||||
|
if (Chassis.Outputs[output].AudioOutFeedback != null)
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "DMSwitchAudio:{0} Routed Input:{1} Output:{2}'", this.Name, Chassis.Outputs[output].AudioOutFeedback.Number, output);
|
||||||
|
}
|
||||||
|
if (AudioOutputFeedbacks.ContainsKey(output))
|
||||||
|
{
|
||||||
|
AudioOutputFeedbacks[output].FireUpdate();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case DMOutputEventIds.OutputNameEventId:
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "DM Output {0} NameFeedbackEventId", output);
|
||||||
|
OutputNameFeedbacks[output].FireUpdate();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
Debug.Console(2, this, "DMOutputChange fired for Output {0} with Unhandled EventId: {1}", args.Number, args.EventId);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else if (args.EventId == DMOutputEventIds.OutputNameEventId)
|
|
||||||
{
|
|
||||||
Debug.Console(2, this, "DM Output {0} NameFeedbackEventId", output);
|
|
||||||
OutputNameFeedbacks[output].FireUpdate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,6 +97,7 @@
|
|||||||
<Compile Include="Cards REMOVE\DmInputCardBase.cs" />
|
<Compile Include="Cards REMOVE\DmInputCardBase.cs" />
|
||||||
<Compile Include="Chassis\DmCardAudioOutput.cs" />
|
<Compile Include="Chassis\DmCardAudioOutput.cs" />
|
||||||
<Compile Include="Chassis\DmChassisController.cs" />
|
<Compile Include="Chassis\DmChassisController.cs" />
|
||||||
|
<Compile Include="Chassis\DmpsAudioOutputController.cs" />
|
||||||
<Compile Include="Chassis\DmpsInternalVirtualDmTxController.cs" />
|
<Compile Include="Chassis\DmpsInternalVirtualDmTxController.cs" />
|
||||||
<Compile Include="Chassis\DmpsRoutingController.cs" />
|
<Compile Include="Chassis\DmpsRoutingController.cs" />
|
||||||
<Compile Include="Chassis\HdMdNxM4kEController.cs" />
|
<Compile Include="Chassis\HdMdNxM4kEController.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user