Bug fixes : TestRslt.IsStartStop( ), IsRelErrTest( ), IsVolumeMethod( ), ...

This commit is contained in:
Milan Hanajik
2023-02-06 08:54:53 +01:00
parent 07f36f2945
commit a6a517b6ea
2 changed files with 8 additions and 6 deletions
+2
View File
@@ -103,6 +103,8 @@ namespace TBF.Rig.Uni.FlowMeter
public double LtrPerPulseCorrected(double flow, float temperature)
{
if (flow == 0) return LtrPerPulse;
/// Apply correction
int rng = GetRange(temperature, temperature);
double correctedFlow = (measurementCorrections == null || rng < 0) ? flow : CorrectedFlow(flow, rng);