IFlowMeterSingle with GetRange(.) and CorrectedFlow(.), Test method calculations clean-up, refactorization, ver. 3.1.1901
This commit is contained in:
@@ -166,8 +166,8 @@ namespace TBF.Rig.TestMethods.PMaxTest
|
||||
///
|
||||
int flowSetTime = (int)Math.Round((DateTime.Now - TestStartTime).TotalSeconds);
|
||||
|
||||
StartNewStatistics(StateMachine.Time, BatchRslts.Batch.BatchNr, test.Name, repetitionNr, 0);
|
||||
UpdateAllStatistics(StateMachine.Time);
|
||||
StartNewStatistics(null, BatchRslts.Batch.BatchNr, test, repetitionNr, 0);
|
||||
UpdateAllStatistics();
|
||||
|
||||
int startTime = StateMachine.Time;
|
||||
int endTime = startTime + testParams.DurationPMax;
|
||||
@@ -187,7 +187,7 @@ namespace TBF.Rig.TestMethods.PMaxTest
|
||||
if (e.Contains(Event.Error)) { retVal = Event.Error; goto stopTest; }
|
||||
if (TestAndLogUiCmdStop(test,e)) { retVal = Event.UiCmdStop; goto stopTest; }
|
||||
|
||||
UpdateAllStatistics(StateMachine.Time);
|
||||
UpdateAllStatistics();
|
||||
|
||||
int remainingTime = Math.Max(endTime - StateMachine.Time, 0);
|
||||
if (remainingTime > 60)
|
||||
@@ -233,8 +233,7 @@ namespace TBF.Rig.TestMethods.PMaxTest
|
||||
tstRslt.MassEndRaw = 0;
|
||||
tstRslt.MassEnd = 0;
|
||||
tstRslt.MassOfEvapWater = 0;
|
||||
tstRslt.FlowMass = 0; /// [kg/h]
|
||||
tstRslt.FlowVolume = 0; /// [m3/h]
|
||||
tstRslt.Flow = 0; /// [m3/h]
|
||||
tstRslt.VolumeMaster = 0; /// [l] volume from the master flow meter
|
||||
tstRslt.VolumeCTV = 0; /// [l] 1000.0f is because density is in [kg/m3]
|
||||
tstRslt.ConstMasterRaw = 0; /// Convert the flow to [m3/h]
|
||||
|
||||
Reference in New Issue
Block a user