public DM_TX_4K_100_C_1G(ICardInputOutputType SwitcherInput) { DMInput _DMInput = SwitcherInput as DMInput; _DmTx4K100C1G = new DmTx4K100C1G(_DMInput); IR = _DmTx4K100C1G.IROutputPorts[1]; Com01 = new RS232OnlyTwoWaySerialDriver(_DmTx4K100C1G.ComPorts[1]); HDMI_In = new CECDevice(_DmTx4K100C1G.StreamCec); Name = _DmTx4K100C1G.Name; }
public DmTx4k100Controller(string key, string name, DmTx4K100C1G tx) : base(key, name, tx) { Tx = tx; HdmiIn = new RoutingInputPort(DmPortName.HdmiIn1, eRoutingSignalType.Audio | eRoutingSignalType.Video, eRoutingPortConnectionType.Hdmi, eVst.Hdmi1, this); DmOut = new RoutingOutputPort(DmPortName.DmOut, eRoutingSignalType.Audio | eRoutingSignalType.Video, eRoutingPortConnectionType.DmCat, null, this); // Set Ports for CEC HdmiIn.Port = Tx; }
public override void InitializeSystem() { _tp = new Tsw1050(0x03, this); _tp.SigChange += new SigEventHandler(_tp_SigChange); _tp.Register(); _inputs = new List <CardDevice>(); _outputs = new List <DmcOutputSingle>(); _sw = new DmMd8x8(0x10, this); _inputs.Add(new Dmc4kC(1, _sw)); _outputs.Add(new DmcCoHdSingle(1, _sw)); _tx = new DmTx4K100C1G(0x14, _sw.Inputs[1]); _tx.OnlineStatusChange += new OnlineStatusChangeEventHandler(_tx_OnlineStatusChange); _rx = new DmRmc4k100C(0x15, _sw.Outputs[1]); _rx.OnlineStatusChange += new OnlineStatusChangeEventHandler(_rx_OnlineStatusChange); _sw.OnlineStatusChange += new OnlineStatusChangeEventHandler(_sw_OnlineStatusChange); _sw.Register(); }