Q_ref_mean and many other result items added, ver. 2.12.563

This commit is contained in:
Milan Hanajik
2017-05-19 11:29:04 +02:00
parent 2387ab28fa
commit 784ebcb1d6
26 changed files with 248 additions and 111 deletions
@@ -539,7 +539,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
readRegistersOp = new Operations.ReadMoreRegistersOp(sensPath.RegisterReaders);
int estimtdEndTime = StateMachine.Time + (int)test.TstTime;
ClearAllStatistics();
ClearAllStatistics(StateMachine.Time);
/// Measurement loop - begin
State.Create(string.Format("{0}({1}) : Reading watermeters", test.Method, test.Name))
@@ -586,7 +586,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
RefFreq.Val = cBrd.ReferenceFreq;
RefFlow.Val = cBrd.ReferenceFlow;
UpdateAllStatistics();
UpdateAllStatistics(StateMachine.Time);
if (heatMetersTestParams != null)
{
@@ -729,8 +729,8 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
tstRslt.ConstMaster = LtrPerRefPulse * tstRslt.VolumeCTV / tstRslt.VolumeMaster; /// Corrected master pulses per liter
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMin = (float)((tstRslt.VolumeMaster != 0) ? (RefFlowStat.Min * tstRslt.VolumeCTV / tstRslt.VolumeMaster) : RefFlowStat.Min);
tstRslt.FlowMax = (float)((tstRslt.VolumeMaster != 0) ? (RefFlowStat.Max * tstRslt.VolumeCTV / tstRslt.VolumeMaster) : RefFlowStat.Max);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
if (compoundTestParams != null)
{