Esempio n. 1
0
        public PumpCompressionCtrl(IStocking stocking)
        {
            _stocking = stocking;
            var stockingPressureGauge = new StockingPressureGauge(stocking);

            stockingPressureGauge.AboveSufficientCompressionPressureEvent   += OnAboveSufficientCompressionPressureEvent;
            stockingPressureGauge.BelowSufficientDecompressionPressureEvent += OnBelowSufficientDecompressionPressureEvent;
        }
Esempio n. 2
0
 public StockingPressureGauge(IStocking stocking)
 {
     _stocking = stocking;
     MeasureStockingPressure();
 }