Пример #1
0
 public void StopBoiler()
 {
     //call valve's isPressureBelow
     if (_valve.IsPressureBelowThreshold())
     {
         _boiler.Stop();
     }
 }