예제 #1
0
        protected void DvrOnAv()
        {
            this.Mode = TheaterMode.Off;

            this.TV.PowerOff();
            this.PrePro.PowerOff();
        }
예제 #2
0
        protected void DvrOnAv()
        {
            this.Mode = TheaterMode.Off;

            this.TV.PowerOff();
            this.PrePro.PowerOff();
        }
예제 #3
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();
            }
        }
예제 #4
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();
            }
        }
예제 #5
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);
        }
예제 #6
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);
        }
예제 #7
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();
            }
        }
예제 #8
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);
        }
예제 #9
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();
            }
        }