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

This commit is contained in:
Milan Hanajik
2019-11-11 09:46:25 +01:00
parent 807daf2bcd
commit 7a640621ac
3 changed files with 15 additions and 15 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)
{