private DMPS4K150C_AnalogAudioOutput(ControlSystem ControlSystem) { TestControlSystemType.isDMPS4K150C(ControlSystem, "This Module is for a DMPS4K150C Control System"); _ControlSystem = ControlSystem; _AnalogAudioOutput = ((Card.Dmps3DmHdmiAudioOutput)ControlSystem.SwitcherOutputs[1]).AudioOutputStream; _SwitcherOutput = DMPS4K150C_SwitcherOutput.GetDMPS4K150C_SwitcherOutput(_ControlSystem); _SwitcherOutput.DmpsAudioOutputStreamChanged += new DMPS4K150C_SwitcherOutput.SwitcherOutputEventHandler(_SwitcherOutput_DmpsAudioOutputStreamChanged); }
private DMPS4K150C_DM_Output(ControlSystem ControlSystem, ControlSystem.eDmps34K150COutputs Output) { //this.DMOutputPort = Output.ToString(); this.DMOutputPort = "DM1Out"; TestControlSystemType.isDMPS4K150C(ControlSystem, "This Module is for a DMPS4K150C Control System"); _ControlSystem = ControlSystem; _SwitcherOutput = DMPS4K150C_SwitcherOutput.GetDMPS4K150C_SwitcherOutput(_ControlSystem); _DMOutput = _ControlSystem.SwitcherOutputs[(uint)Output] as Card.Dmps3DmHdmiAudioOutput; _SwitcherOutput.DmpsDmHdmiOutputStreamChanged += new DMPS4K150C_SwitcherOutput.SwitcherOutputEventHandler(_SwitcherOutput_DMHDMIOutputStreamChanged); _SwitcherOutput.HdmiOutputStreamChanged += new DMPS4K150C_SwitcherOutput.SwitcherOutputEventHandler(_SwitcherOutput_HdmiOutputStreamChanged); _SwitcherOutput.DmOutputStreamChanged += new DMPS4K150C_SwitcherOutput.SwitcherOutputEventHandler(_SwitcherOutput_DmOutputStreamChanged); _SwitcherOutput.DMOutputChanged += new DMPS4K150C_SwitcherOutput.SwitcherOutputEventHandler(_SwitcherOutput_DMOutputChanged); _DMOutput.DmOutputPort.StreamCec.CecChange += new CecChangeEventHandler(DMStreamCec_CecChange); _DMOutput.DmOutputPort.ConnectedDevice.DeviceInformationChange += new ConnectedDeviceChangeEventHandler(DMConnectedDevice_DeviceInformationChange); _DMOutput.HdmiOutputPort.StreamCec.CecChange += new CecChangeEventHandler(HDMIStreamCec_CecChange); _DMOutput.HdmiOutputPort.ConnectedDevice.DeviceInformationChange += new ConnectedDeviceChangeEventHandler(HDMIConnectedDevice_DeviceInformationChange); }
public static DMPS4K150C_SwitcherOutput GetDMPS4K150C_SwitcherOutput(ControlSystem _ControlSystem) { return(_SwitcherOutput ?? (_SwitcherOutput = new DMPS4K150C_SwitcherOutput(_ControlSystem))); }