public void Compress() { if (!compressor_.isRunning()) { green_.turnOn(); vibrateD_.turnOn(); compressor_.startPump(); Console.WriteLine("Done."); green_.turnOff(); vibrateD_.turnOff(); } else { Console.WriteLine("Is compress."); } }