Diverter and start/stop valve switch time logging in ms, ver. 2.17.679

This commit is contained in:
Milan Hanajik
2017-09-28 17:11:41 +02:00
parent b54f938bd5
commit 9fa025caa4
5 changed files with 18 additions and 12 deletions
@@ -597,8 +597,8 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
ClearAllStatistics(StateMachine.Time);
/// Read the diverter switch time
switchTimeStart = (float)cBrd.DivTime / 1000.0f;
log.WarnFormat("Diverter switch time on test start = {0} ms", switchTimeStart);
switchTimeStart = 0.001f * (float)cBrd.DivTime;
log.WarnFormat("Diverter switch time on test start = {0} ms", cBrd.DivTime);
/// Measurement loop - begin
State.Create(string.Format("{0}({1}) : Reading watermeters", test.Method, test.Name))
@@ -724,8 +724,8 @@ namespace TBF.BenchControl.TestMethods.FlyingStartMassCollection
else LogProcessDataHeaderHeatMeters(processDataLogger, "End mass");
/// Read the diverter switch time
switchTimeEnd = (float)cBrd.DivTime / 1000.0f;
log.WarnFormat("Diverter switch time on test end = {0} ms", switchTimeEnd);
switchTimeEnd = 0.001f * (float)cBrd.DivTime;
log.WarnFormat("Diverter switch time on test end = {0} ms", cBrd.DivTime);
State.Create(string.Format("{0}({1}) : Measuring the end mass", test.Method, test.Name))
.AddOperation(checkUiOp)