Elde.FlowMeterTwins bug-fix in calculation of ref. pulses and flow.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user