// instantly turn things off public void EmergencyShutdown() { if (!working) { if (flashlight.GetStatus() == "On") { flashlight.EmergencyShutoff(); } if (tracker.GetStatus() == "On") { tracker.EmergencyShutoff(); } if (radio.GetStatus() == "On") { radio.EmergencyShutoff(); } } }