feat(Essentials_DM): Update DmInputEvent handler for input resolution feedback

This commit is contained in:
Andrew Welker
2021-09-08 15:26:16 -06:00
parent a28a078c4f
commit db3d96d448

View File

@@ -1051,6 +1051,18 @@ namespace PepperDash.Essentials.DM
Debug.Console(2, this, "No index of {0} found in InputStreamCardStateFeedbacks");
break;
}
case DMInputEventIds.ResolutionEventId:
{
var inputPort =
InputPorts.Cast<RoutingInputPortWithVideoStatuses>()
.FirstOrDefault((ip) => ip.Key.Contains(String.Format("inputCard{0}", args.Number)));
if (inputPort != null)
{
inputPort.VideoStatus.VideoResolutionFeedback.FireUpdate();
}
break;
}
default:
{
Debug.Console(2, this, "DMInputChange fired for Input {0} with Unhandled EventId: {1}", args.Number, args.EventId);