mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Add Clear input port for Essentials Routing
This commit is contained in:
parent
ef63c1db02
commit
ac09267173
1 changed files with 8 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ namespace PepperDash.Essentials.DM
|
|||
[Description("Wrapper class for all DM-MD chassis variants from 8x8 to 32x32")]
|
||||
public class DmChassisController : CrestronGenericBridgeableBaseDevice, IDmSwitch, IRoutingNumericWithFeedback
|
||||
{
|
||||
private const string NonePortKey = "inputCard0--None";
|
||||
public DMChassisPropertiesConfig PropertiesConfig { get; set; }
|
||||
|
||||
public Switch Chassis { get; private set; }
|
||||
|
|
@ -134,6 +135,10 @@ namespace PepperDash.Essentials.DM
|
|||
var controller = new DmChassisController(key, name, chassis);
|
||||
|
||||
//
|
||||
var clearInputPort = new RoutingInputPort(NonePortKey, eRoutingSignalType.AudioVideo,
|
||||
eRoutingPortConnectionType.None, null, controller);
|
||||
|
||||
controller.InputPorts.Add(clearInputPort);
|
||||
|
||||
// add the cards and port names
|
||||
foreach (var kvp in properties.InputSlots)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue