Fixes DMPS preset recall. Adds event to catch vumeter event ID and exit (can spam the event handler)

This commit is contained in:
Alex Johnson
2022-01-11 15:26:39 -05:00
parent 7d89f51dcf
commit 60ed2ea537
2 changed files with 9 additions and 2 deletions

View File

@@ -895,6 +895,12 @@ namespace PepperDash.Essentials.DM
{
Debug.Console(2, this, "DMOutputChange Output: {0} EventId: {1}", args.Number, args.EventId.ToString());
if (args.EventId == DMOutputEventIds.OutputVuFeedBackEventId)
{
//Frequently called event that isn't needed
return;
}
var output = args.Number;
DMOutput outputCard = Dmps.SwitcherOutputs[output] as DMOutput;