예제 #1
0
        protected void InitializeComponents()
        {
            this.TV     = new SerialControl.PioneerTv(TelevisionPort);
            this.PrePro = new SerialControl.EmotivaPrePro(PreProPort);
            this.Oppo   = new SerialControl.OppoBdp83(OppoPort);
            this.Ir     = new IrControl.UsbUirt();

            this.Oppo.OnDiscTypeUpdate  += OppoOnDiscTypeUpdate;
            this.Oppo.OnAudioTypeUpdate += OppoOnAudioUpdate;
            this.Oppo.OnPowerUpdate     += OppoOnPowerUpdate;

            this.Ir.OnDvrOk          += WatchDvr;
            this.Ir.OnDvrChannelDown += WatchDvr;
            this.Ir.OnDvrChannelUp   += WatchDvr;
            this.Ir.OnDvrAv          += DvrOnAv;
            this.Ir.OnOppoOk         += OppoOnOk;
        }
예제 #2
0
        protected void InitializeComponents()
        {
            this.TV = new SerialControl.PioneerTv(TelevisionPort);
            this.PrePro = new SerialControl.EmotivaPrePro(PreProPort);
            this.Oppo = new SerialControl.OppoBdp83(OppoPort);
            this.Ir = new IrControl.UsbUirt();

            this.Oppo.OnDiscTypeUpdate += OppoOnDiscTypeUpdate;
            this.Oppo.OnAudioTypeUpdate += OppoOnAudioUpdate;
            this.Oppo.OnPowerUpdate += OppoOnPowerUpdate;

            this.Ir.OnDvrOk += WatchDvr;
            this.Ir.OnDvrChannelDown += WatchDvr;
            this.Ir.OnDvrChannelUp += WatchDvr;
            this.Ir.OnDvrAv += DvrOnAv;
            this.Ir.OnOppoOk += OppoOnOk;
        }
예제 #3
0
        private void comboBoxPorts_SelectedIndexChanged(object sender, EventArgs e)
        {
            String port = comboBoxPorts.SelectedItem.ToString();

            _processor = new EmotivaPrePro(port);

               //_port = _processor.GetSerialPort();
        }