uniCB.FlyingStartStopTest...Op.cs test start fixed, ver. 3.1.1640

This commit is contained in:
Milan Hanajik
2021-03-16 15:09:41 +01:00
parent e8e1be644b
commit 068c51157e
3 changed files with 6 additions and 6 deletions
@@ -98,8 +98,8 @@ namespace TBF.Rig.ControlBoard.Uni
}
if (!flowMeter.MsrmntAvailable || /// Flow measurement not started yet
(uniCB.State & (ulong)StatusP.TestInProgress) == 0 || /// Test was not started yet
(flowMeter.ReadFlow()) == 0) /// Measured flow is 0
(uniCB.State & (ulong)StatusP.ReadingCounters) == 0 || /// Test was not started yet
uniCB.RefFrequency == 0) /// Measured flow is 0
{
return Event.StartingTest; /// Flow regulation cannot be started
}
@@ -118,8 +118,8 @@ namespace TBF.Rig.ControlBoard.Uni
}
if (!flowMeter.MsrmntAvailable || /// Flow measurement not started yet
(uniCB.State & (ulong)StatusP.TestInProgress) == 0 || /// Test was not started yet
(flowMeter.ReadFlow()) == 0) /// Measured flow is 0
(uniCB.State & (ulong)StatusP.ReadingCounters) == 0 || /// Test was not started yet
uniCB.RefFrequency == 0) /// Measured flow is 0
{
return Event.StartingTest; /// Flow regulation cannot be started
}