Beispiel #1
0
 public void StopBtnPushed()
 {
     _compressionCtrl.Decompress();
     _vibrator.VibrateOn();
     _ledController.ShineRed();
     TurnOff();
 }
 public void StopBtnPushed()
 {
     //_ledR.Toggle();
     //_vibrator.ToggleVibrator();
     _compressionCtrl.Decompress();
     //_vibrator.ToggleVibrator();
     //_ledR.Toggle();
 }
 public void StartDecompression()
 {
     Console.WriteLine("Stop Pushed");
     if (_compressionStatus.Status == CompressionStatus.Compressed)
     {
         _compressionCtrl.Decompress();
     }
 }
Beispiel #4
0
 public void StopBtnPushed()
 {
     if (_state == State.Compressed)
     {
         _compressionCtrl.Decompress();
         _state = State.Decompressing;
     }
 }
Beispiel #5
0
 public void StopBtnPushed()
 {
     if (_stateOfCompression)
     {
         _compressionCtrl.Decompress();
         _stateOfCompression = false;
     }
 }
 public void StopBtnPushed()
 {
     if (_compressionCtrl.IsCompressed() == true)
     {
         _LEDCtrlRed.LEDDeCompOn();
         _vibratorCtrl.VibratorOn();
         _compressionCtrl.Decompress();
         _vibratorCtrl.VibratorOff();
         _LEDCtrlRed.LEDOff();
     }
     else
     {
         Console.WriteLine("All ready empty");
     }
 }
Beispiel #7
0
 public void StartDecompression()
 {
     if (isCompressed)
     {
         Console.WriteLine("Staring decompression");
         isCompressed = false;
         isRelaxed    = false;
         if (compressionProgressListener != null)
         {
             compressionProgressListener.DecompressionStarted();
         }
         compressionController.Decompress();
     }
     else
     {
         Console.WriteLine("Can't start decompression when stocking is not compressed");
     }
 }
 public void StopBtnPushed()
 {
     _compressionCtrl.Decompress();
 }
Beispiel #9
0
 public void StopButtonPushed()
 {
     System.Console.WriteLine("");
     _compressionCtrl.Decompress();
     System.Console.WriteLine("");
 }
Beispiel #10
0
 public void StopBtnPushed(ICompressionCtrl compCtrl)
 {
     compCtrl.Decompress();
 }
Beispiel #11
0
 public void Decompress()
 {
     compressionCtrl.Decompress();
 }
Beispiel #12
0
 public void StopCompression()
 {
     _comp.Decompress();
 }