Elde.FlowMeterTwins bug-fix in calculation of ref. pulses and flow.

This commit is contained in:
Milan Hanajik
2016-12-12 16:43:04 +01:00
parent 72418d802c
commit be52e2df96
12 changed files with 74 additions and 18 deletions
@@ -442,8 +442,14 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
tstRslt.EndTime = TestEndTime;
tstRslt.FlowSetTime = flowSetTime;
tstRslt.TestTime = cBrd.TTime; /// [s] measurement time
tstRslt.PulsesMaster = Convert.ToDouble(cBrd.EtPulses(0)); /// Pulses of the master flow meter (test total)
tstRslt.MassStartRaw = 0;
/// Pulses of the master flow meter (test total)
if (outPath.FlowMeter is Elde.FlowMeterTwins.FlowMeter)
tstRslt.PulsesMaster = Convert.ToDouble(cBrd.EtPulses(0) + cBrd.EtPulses2);
else
tstRslt.PulsesMaster = Convert.ToDouble(cBrd.EtPulses(0));
tstRslt.MassStartRaw = 0;
tstRslt.MassStart = 0;
tstRslt.MassEndRaw = 0;
tstRslt.MassEnd = 0;