public void PressButton() { Console.WriteLine("Pressing the remote control Button "); if (_dogDoor.isOpen()) { _dogDoor.Close(); } _dogDoor.Open(); }
public void Recognizer(string bark) { Console.WriteLine("BarkRecognizer: Heard a '" + bark + "'"); _dogDoor.Open(); }