public void WatchMovie() { Console.WriteLine("开始播放电影......"); screen.Down(); dvd.PlayDVD(); sound.TurnOn(); light.TurnOff(); }
public void StartWatchingFilm(String film) { Console.WriteLine("Be ready for watching film..."); PopcornMachine.On(); PopcornMachine.Start(); Light.Dim(10); Screen.Down(); Projector.On(); Projector.SetWidescreen(); Amplifier.On(); Amplifier.SetSurroundSound(); Amplifier.SetSoundLevel(5); DvdPlayer.On(); DvdPlayer.Play(film); }
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(); _amp.SetSurroundSound(); _amp.SetVolume(5); _dvd.On(); _dvd.Play(movie); }
public void WatchMovie(String movie) { Console.WriteLine("Get ready to watch a movie..."); _popcornPopper.On(); _popcornPopper.Pop(); _theaterLights.Dim(10); _screen.Down(); _projector.On(); _projector.WideScreenMode(); _amplifier.On(); _amplifier.SetDvd(string); _amplifier.SetSurroundSound(); _amplifier.SetVolume(5); _dvdPlayer.On(); _dvdPlayer.PlayMovie(movie); }
public object WatchMovie(string movie) { var watchMovie = new StringBuilder(); watchMovie.Append("Get ready to watch a movie...\n"); watchMovie.Append(Popper.On()); watchMovie.Append(Popper.Pop()); watchMovie.Append(Lights.Dim(10)); watchMovie.Append(Screen.Down()); watchMovie.Append(Projector.On()); watchMovie.Append(Projector.WideScreenMode()); watchMovie.Append(Amp.On()); watchMovie.Append(Amp.SetDvd(Dvd)); watchMovie.Append(Amp.SetSurroundSound()); watchMovie.Append(Amp.SetVolume(15)); watchMovie.Append(Dvd.On()); watchMovie.Append(Dvd.Play(movie)); return(watchMovie.ToString()); }