uniCB.FlyingStartStopTest...Op.cs test start fixed, ver. 3.1.1640
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user