Elde.StopPreviousOp modified : STOP command resent if necessary, ver. 2.18.868
This commit is contained in:
@@ -78,15 +78,23 @@ namespace TBF.BenchControl.Elde
|
||||
}
|
||||
else
|
||||
{
|
||||
//opState = OpState.ResendCommand;
|
||||
opState = OpState.ResendCommand;
|
||||
return Event.None;
|
||||
}
|
||||
}
|
||||
else if (opState == OpState.ResendCommand)
|
||||
{
|
||||
SendStopCommand();
|
||||
opState = OpState.CheckIfStopped;
|
||||
return Event.None;
|
||||
if ((controlBoard.StatusP & (StatusP.TestCompleted | StatusP.TestInProgress)) == 0)
|
||||
{
|
||||
opState = OpState.Stopped;
|
||||
return Event.PreviousStopped;
|
||||
}
|
||||
else
|
||||
{
|
||||
SendStopCommand();
|
||||
opState = OpState.CheckIfStopped;
|
||||
return Event.None;
|
||||
}
|
||||
}
|
||||
else if (opState == OpState.Stopped)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user