Bug fix for the case of combined WM test and odd total nr. of watermeters (Munich)

This commit is contained in:
Milan Hanajik
2015-02-18 14:49:19 +01:00
parent fbdd937302
commit 1dbbe31eae
5 changed files with 8 additions and 5 deletions
@@ -261,7 +261,7 @@ namespace TBF.BenchControl.TestMethods.CombinedMeters
string logstr = string.Format("E={0} f={1} q={2}", cBrd.EtPulses(0), cBrd.ReferenceFreq,
cBrd.ReferenceFlow * outPath.FlowMeter.NominalFlow);
for (int i = 0; i < Program.WMsCount; i++)
for (int i = 0; i < (Program.WMsCount / 2) * 2; i++)
{
logstr += string.Format(" M{0}=({1},{2})", i + 1, WMRefPulses[i], WMPulses[i]);
}