Merge pull request #863 from PepperDash/hotfix/dm-blade-chassis-throws-exception

hotfix(Essentials_DM): fixed invalid cast exception in dm blade chassis
This commit is contained in:
Andrew Welker
2021-11-11 17:28:57 -07:00
committed by GitHub

View File

@@ -304,7 +304,7 @@ namespace PepperDash.Essentials.DM {
{
var newEvent = NumericSwitchChange;
if (newEvent != null) newEvent(this, e);
}
}
void AddHdmiInBladePorts(uint number, ICec cecPort) {
@@ -425,7 +425,7 @@ namespace PepperDash.Essentials.DM {
Debug.Console(2, this, "Adding output port '{0}'", portKey);
OutputPorts.Add(new RoutingOutputPort(portKey, sigType, portType, selector, this)
{
FeedbackMatchObject = Chassis.Outputs[(uint)selector]
FeedbackMatchObject = selector
});
}