protected void DvrOnAv()
        {
            this.Mode = TheaterMode.Off;

            this.TV.PowerOff();
            this.PrePro.PowerOff();
        }
        protected void DvrOnAv()
        {
            this.Mode = TheaterMode.Off;

            this.TV.PowerOff();
            this.PrePro.PowerOff();
        }
        protected void ListenAudioOnOppo(Boolean multichannel)
        {
            this.Mode = TheaterMode.Oppo;

            if (!this.PrePro.PoweredOn)
            {
                this.PrePro.PowerOn();
            }

            if (multichannel)
            {
                this.PrePro.Input8Channel();
            }
            else
            {
                this.PrePro.InputCD();
            }
        }
        /// Called when Oppo power status changes. If turning off, we turn off
        /// everything. If turning on, we warm up the prepro
        protected void OppoOnPowerUpdate(Boolean power)
        {
            if (power)
            {
                this.ListenAudioOnOppo(true);
            }
            else
            {
                if (this.Mode == TheaterMode.Dvr)
                {
                    return;
                }

                this.Mode = TheaterMode.Off;
                this.TV.PowerOff();
                this.PrePro.PowerOff();
            }
        }
        protected void WatchDvr()
        {
            this.Mode = TheaterMode.Dvr;

            if (!this.PrePro.PoweredOn)
            {
                this.PrePro.PowerOn();
            }

            this.PrePro.InputSAT();

            if (!this.TV.PoweredOn)
            {
                this.TV.PowerOn();
            }

            this.TV.SetInputHDMI1();
            this.TV.SetVolume(0);
        }
        protected void WatchVideoOnOppo()
        {
            this.Mode = TheaterMode.Oppo;

            if (!this.PrePro.PoweredOn)
            {
                this.PrePro.PowerOn();
            }

            // switches HDMI to video
            this.PrePro.InputDVD();

            // switches audio to reasonable default
            this.PrePro.Input8Channel();

            if (!this.TV.PoweredOn)
            {
                this.TV.PowerOn();
            }

            this.TV.SetInputHDMI1();
            this.TV.SetVolume(0);
        }
        protected void ListenAudioOnOppo(Boolean multichannel)
        {
            this.Mode = TheaterMode.Oppo;

            if(!this.PrePro.PoweredOn) {
                this.PrePro.PowerOn();
            }

            if(multichannel) {
                this.PrePro.Input8Channel();
            } else {
                this.PrePro.InputCD();
            }
        }
        protected void WatchVideoOnOppo()
        {
            this.Mode = TheaterMode.Oppo;

            if(!this.PrePro.PoweredOn) {
                this.PrePro.PowerOn();
            }

            // switches HDMI to video
            this.PrePro.InputDVD();

            // switches audio to reasonable default
            this.PrePro.Input8Channel();

            if(!this.TV.PoweredOn) {
                this.TV.PowerOn();
            }

            this.TV.SetInputHDMI1();
            this.TV.SetVolume(0);
        }
        protected void WatchDvr()
        {
            this.Mode = TheaterMode.Dvr;

            if(!this.PrePro.PoweredOn)
                this.PrePro.PowerOn();

            this.PrePro.InputSAT();

            if(!this.TV.PoweredOn)
                this.TV.PowerOn();

            this.TV.SetInputHDMI1();
            this.TV.SetVolume(0);
        }
示例#10
0
        /// Called when Oppo power status changes. If turning off, we turn off
        /// everything. If turning on, we warm up the prepro
        protected void OppoOnPowerUpdate(Boolean power)
        {
            if(power) {
                this.ListenAudioOnOppo(true);
            } else {
                if(this.Mode == TheaterMode.Dvr)
                    return;

                this.Mode = TheaterMode.Off;
                this.TV.PowerOff();
                this.PrePro.PowerOff();
            }
        }