tstRslt.FlowMin evaluated, saved to Oracle DB only.

This commit is contained in:
Milan Hanajik
2017-05-25 14:06:05 +02:00
parent 3deb24f89a
commit 294cc73e36
9 changed files with 17 additions and 8 deletions
@@ -307,7 +307,8 @@ namespace TBF.BenchControl.TestMethods.Adjustment
tstRslt.ErrorMaster = 0.0f; /// Cannot be determined without the collected water mass measurement
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
{
@@ -623,7 +623,8 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
{
@@ -324,7 +324,8 @@ namespace TBF.BenchControl.TestMethods.Endurance
tstRslt.ErrorMaster = 0.0; /// Cannot be determined without a mass measurement
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
///
/// Single meters
@@ -523,7 +523,8 @@ namespace TBF.BenchControl.TestMethods.FixedStartAdvanced
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)
{
@@ -771,7 +771,8 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
if (compound)
{
@@ -434,7 +434,8 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
tstRslt.ErrorMaster = 0.0; /// Cannot be determined without a mass measurement
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
if (compoundTestParams != null)
{
@@ -730,7 +730,8 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
if (compoundTestParams != null)
{
@@ -325,7 +325,8 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV);
tstRslt.FlowMean = (float)RefFlowStat.Average;
tstRslt.FlowMax = (float)RefFlowStat.Max;
tstRslt.FlowMin = (float)RefFlowStat.Min;
tstRslt.FlowMax = (float)RefFlowStat.Max;
/// Update flowmeter constant with the measured one
if (outPath.FlowMeter.Idx1 > 0 && outPath.FlowMeter.Idx1 <= ReferenceFlowmetersCount)