ErrorFlags STOP stops cycle

This commit is contained in:
Milan Hanajik
2021-06-28 13:56:26 +02:00
parent cd15ab2432
commit 2106e82ede
31 changed files with 175 additions and 61 deletions
@@ -52,6 +52,7 @@ namespace TBF.Rig.TestMethods.ManualEntry
///
Results.Entities.TestRslt tstRslt = BatchRslts.GetTestRslt(testName, test.Part);
bool stopCycle = false;
if (tstRslt != null)
{
Results.Utils.GetCounterStates(tstRslt, Program.LocalSettings.Counters);
@@ -86,7 +87,7 @@ namespace TBF.Rig.TestMethods.ManualEntry
tstRslt.DiverterStart = 0;
tstRslt.DiverterEnd = 0;
long infoFlags = 0;
tstRslt.ErrorFlags = (ErrorFlagsComp != null) ? ErrorFlagsComp.GetErrorFlags(tstRslt, false, false, 0, 0, out infoFlags) : 0;
tstRslt.ErrorFlags = (ErrorFlagsComp != null) ? ErrorFlagsComp.GetErrorFlags(tstRslt, false, false, 0, 0, out infoFlags, out stopCycle) : 0;
tstRslt.InfoFlags = infoFlags;
for (int i = 0; i < BatchRslts.WMPositionsCount; i++)