static void Main(string[] args) { ICinema cinema = CreateCinema(CinemaType.flat, EquipmentType.ZWave); cinema.Show(); cinema.Stop(); cinema.Off(); Console.WriteLine("-----------------------------"); cinema = CreateCinema(CinemaType.flat, EquipmentType.Noolite); cinema.Show(); cinema.Stop(); cinema.Off(); Console.WriteLine("-----------------------------"); cinema = CreateCinema(CinemaType.cottadge, EquipmentType.ZWave); cinema.Show(); cinema.Stop(); cinema.Off(); Console.WriteLine("-----------------------------"); cinema = CreateCinema(CinemaType.cottadge, EquipmentType.Noolite); cinema.Show(); cinema.Stop(); cinema.Off(); Console.ReadKey(); }
public void Run() { ICinema cinema = CreateCinema(); cinema.Show(); cinema.Stop(); cinema.Off(); }
public void Cinema_FlatZwave_result() { ICinema cinema = CreateCinema(CinemaType.flat, EquipmentType.ZWave); _output.WriteLine(cinema.Show()); _output.WriteLine("-----------------------------"); _output.WriteLine(cinema.Stop()); _output.WriteLine("-----------------------------"); _output.WriteLine(cinema.Off()); }