hotfix(Essentials_DM): fixed invalid cast exception in dm blade chassis

This commit is contained in:
Nick Genovese
2021-11-10 11:21:19 -05:00
parent 63cd322fd0
commit 446bae4dd3

View File

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