From 0e80c6f54d249841ca60ed3009d679e5a176c400 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 17 Sep 2019 12:31:24 -0600 Subject: [PATCH] fixes output card HDMI port naming issue and type case sensitivity issue for two affected input card types. --- .../Essentials_DM/Chassis/DmChassisController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs b/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs index 277c2e16..d5ecfce4 100644 --- a/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs +++ b/essentials-framework/Essentials DM/Essentials_DM/Chassis/DmChassisController.cs @@ -295,7 +295,7 @@ namespace PepperDash.Essentials.DM var cecPort = inputCard.HdmiInput as ICec; AddHdmiInCardPorts(number, cecPort); } - else if (type == "dmcHdDsp") + else if (type == "dmchddsp") { var inputCard = new DmcHdDsp(number, this.Chassis); var cecPort = inputCard.HdmiInput as ICec; @@ -307,7 +307,7 @@ namespace PepperDash.Essentials.DM var cecPort = inputCard.HdmiInput as ICec; AddHdmiInCardPorts(number, cecPort); } - else if (type == "dmc4kHdDsp") + else if (type == "dmc4khddsp") { var inputCard = new Dmc4kHdDsp(number, this.Chassis); var cecPort = inputCard.HdmiInput as ICec; @@ -604,7 +604,7 @@ namespace PepperDash.Essentials.DM /// void AddOutputPortWithDebug(string cardName, string portName, eRoutingSignalType sigType, eRoutingPortConnectionType portType, object selector, ICec cecPort) { - var portKey = string.Format("outputCard{0}--{1}", cardName, portName); + var portKey = string.Format("{0}--{1}", cardName, portName); Debug.Console(2, this, "Adding output port '{0}'", portKey); var outputPort = new RoutingOutputPort(portKey, sigType, portType, selector, this);