public void EndMovie() { Console.WriteLine("Shutting down the move theater..."); Popper.Off(); Lights.On(); Screen.Up(); Projector.Off(); Amp.Off(); Dvd.Stop(); Dvd.Eject(); Dvd.Off(); }
public string EndMovie() { StringBuilder sb = new StringBuilder(); sb.AppendLine("Shutting movie theater down ..."); sb.AppendLine(Popper.Off()); sb.AppendLine(Lights.On()); sb.AppendLine(Screen.Up()); sb.AppendLine(Projector.Off()); sb.AppendLine(Amp.Off()); sb.AppendLine(Dvd.Stop()); sb.AppendLine(Dvd.Eject()); sb.AppendLine(Dvd.Off()); return(sb.ToString()); }