Beispiel #1
0
        public void PressButton()
        {
            Console.WriteLine("Pressing the remote control button....");
            if (door.IsOpen())
            {
                door.Close();
            }
            else
            {
                door.Open();

                // door.Close();
            }
        }