Diverter and start/stop valve switch time logging in ms, ver. 2.17.679
This commit is contained in:
+4
-2
@@ -223,7 +223,8 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
|
||||
ClearAllStatistics(StateMachine.Time);
|
||||
|
||||
/// Read the diverter switch time
|
||||
switchTimeStart = (float)cBrd.DivTime / 1000.0f;
|
||||
switchTimeStart = 0.001f * (float)cBrd.DivTime;
|
||||
log.WarnFormat("Diverter switch time on test start = {0} ms", cBrd.DivTime);
|
||||
|
||||
/// Measurement loop - begin
|
||||
while (true)
|
||||
@@ -271,7 +272,8 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
|
||||
while (!e.Contains(Event.TimerExpired));
|
||||
|
||||
/// Read the diverter switch time
|
||||
switchTimeEnd = (float)cBrd.DivTime / 1000.0f;
|
||||
switchTimeEnd = 0.001f * (float)cBrd.DivTime;
|
||||
log.WarnFormat("Diverter switch time on test end = {0} ms", cBrd.DivTime);
|
||||
|
||||
//------------------------------------------------
|
||||
Bridge.OnActivity(this, Strings.Measuring_the_weight);
|
||||
|
||||
Reference in New Issue
Block a user