Bug fixes : (1) FlowMeterDewa, (2) ControlComWrap.ReferenceFreqs(int i)

This commit is contained in:
Milan Hanajik
2019-10-30 09:24:48 +01:00
parent 68d6479d20
commit 424be60a05
2 changed files with 13 additions and 13 deletions
@@ -52,8 +52,9 @@ namespace TBF.BenchControl.Elde.FlowMeterDewa
double flow1, flow2, flow3;
double contribution1, contribution2, contribution3;
if (refFreq[0] != 0)
if (refPulses[0] != 0)
{
/// Division by zero prevented inside this 'if'
double ltrPerPulseCorrected = 0;
if (flowMeter1 != null)
{