Minor DataStream.Reader and Elde.FlowMeter fixes

This commit is contained in:
Milan Hanajik
2021-08-18 13:06:37 +02:00
parent 848f9dff9d
commit 8a85458865
2 changed files with 4 additions and 2 deletions
@@ -23,6 +23,8 @@ namespace TBF.BenchControl.Elde.FlowMeter
public double LtrPerPulseCorrected(double flow, int rangeIx)
{
if (flow == 0) return LtrPerPulse; /// To avoid division by zero
/// Apply correction
var rangeCorrections = new List<Config.Entities.MeasurementCorrection>();
foreach (var corr in Corrections)