コード例 #1
0
 public void WatchMovie(string movie)
 {
     _screen.Down();
     _projector.On();
     _dvd.On();
     _dvd.Play(movie);
 }
        public void WatchMovie(string movieName, int inputMode)
        {
            Console.WriteLine("Get ready to watch a movie");


            popper.On();


            lights.On();
            lights.Dim(10);

            screen.Down();


            projector.On();
            projector.SetInputMode(inputMode);
            projector.WideScreedMode();


            amp.On();
            amp.SetDvd(dvd);
            amp.SetSurroundSound();
            amp.SetVolume(5);

            dvd.Name = movieName;
            dvd.On();
            dvd.Play();
        }
コード例 #3
0
 public void WatchMovie()
 {
     PopcornMachine.On();
     Tuner.On();
     DvdPlayer.On();
     Projector.On();
     Screen.On();
 }
コード例 #4
0
        public void WatchMovies(string movie)
        {
            Console.WriteLine("Get Ready to watch a movie");

            popper.On();
            popper.Pop();
            lights.Dim(10);
            screem.Down();
            projector.On();
            projector.WideScreenMode();
            amplifier.StartAmplifier();
            dvdPlayer.On();
            dvdPlayer.Play(movie);
        }
コード例 #5
0
 public void WatchMovie(string movie)
 {
     Console.WriteLine("Get Ready to watch a movie...");
     Popper.On();
     Popper.Pop();
     Lights.Dim();
     Screen.Down();
     Projector.On();
     Projector.WideScreenModel();
     Amp.On();
     Amp.SetSurroundSound();
     Amp.SetVolume();
     DVD.On();
     DVD.Play();
 }
コード例 #6
0
 public void WatchMovie(string movie)
 {
     view.DisplayMessage("Getting ready to watch a movie...");
     popper.On();
     popper.Pop();
     lights.Dim(10);
     screen.Down();
     projector.On();
     amplifier.On();
     amplifier.SetSource(blueRay);
     amplifier.SetSurroundSound();
     amplifier.SetVolume(5);
     blueRay.On();
     blueRay.Play(movie);
 }
コード例 #7
0
 public void WatchMovie(String movie)
 {
     Console.WriteLine("Get ready to watch a movie...");
     popper.On();
     popper.Pop();
     lights.Dim(10);
     screen.Down();
     projector.On();
     projector.WideScreenMode();
     amp.On();
     amp.SetDvd(dvd);
     amp.SetSurroundSound();
     amp.SetVolume(5);
     dvd.On();
     dvd.Play(movie);
 }
コード例 #8
0
 public void WacthMovie(String movie)
 {
     Console.WriteLine("开始观看电影 " + movie + "...");
     _popper.On();
     _popper.Pop();
     _lights.Dim(10);
     _screen.Dowm();
     _projector.On();
     _projector.WideScreenMode();
     _amp.On();
     _amp.SetDvd(_dvd);
     _amp.SetSurroundSound();
     _amp.SetVolume(5);
     _dvd.On();
     _dvd.Play(movie);
 }
コード例 #9
0
 public void WatchMovie(string movie)
 {
     System.Console.WriteLine("Get ready to watch movie...");
     popper.On();
     popper.Pop();
     lights.Dim(10);
     screen.Down();
     projector.On();
     projector.WideScreenMode();
     amp.On();
     amp.Dvd = dvd;
     amp.SetSurroundSound();
     amp.Volume = 5;
     dvd.On();
     dvd.Play(movie);
 }
コード例 #10
0
 public void WatchMovie(string movie)
 {
     Console.WriteLine("Get ready to watch a movie");
     _popper.On();
     _popper.Pop();
     _lights.Dim(5);
     _screen.Down();
     _projector.On();
     _projector.WideScreenMode();
     _amp.On();
     _amp.SetDvd();
     _amp.SetSurroundSound();
     _amp.SetVolume(5);
     _dvd.On();
     _dvd.Play(movie);
 }
コード例 #11
0
        public void WatchMovie(string movie)
        {
            Console.WriteLine($"\nGet ready to watch a movie \"{movie}\"...");
            _popper.On();
            _popper.Pop();

            _theaterLights.Dim(10);
            _screen.Down();

            _projector.On();
            _projector.WideScreenMode();

            _amplifier.On();
            _amplifier.SetDvd(_dvdPlayer);
            _amplifier.SetSurroundSound();
            _amplifier.SetVolume(5);

            _dvdPlayer.On();
            _dvdPlayer.Play(movie);
        }