public void StopBtnPushed() { switch (_state) { case State.Compressed: _state = State.Decompressing; _compressionMechanism.Decompress(); break; case State.Compressing: _state = State.Decompressing; _compressionMechanism.Stop(); _compressionMechanism.Decompress(); break; } }
public void Decompress() { Console.WriteLine("StubCompressionCtrl::Decompress() called"); DecompressionTimer.Enabled = true; _pump.Decompress(); _decompressIndicator.On(); _vibrationMotor.On(); }