StateMachine : Inserted two 1/10 sec. delays between RunDeviceBefore(), RunOperations() and RunDeviceAfter().
This commit is contained in:
parent
695cca6509
commit
6f8ad1638f
@ -783,6 +783,8 @@ namespace TBF.BenchControl
|
||||
/// <returns>List of Event-s returned from the state operations, null == quit</returns>
|
||||
public static IList<Event> WaitRunDevsRunOps()
|
||||
{
|
||||
Thread.Sleep(100); /// Insert 1/10 sec.delay between RunOperations() and RunDeviceAfter()
|
||||
|
||||
foreach (var device in devices) device.RunDeviceAfter();
|
||||
|
||||
if (WaitNextTick())
|
||||
@ -799,7 +801,9 @@ namespace TBF.BenchControl
|
||||
}
|
||||
|
||||
foreach (var device in devices) device.RunDeviceBefore();
|
||||
|
||||
|
||||
Thread.Sleep(100); /// Insert 1/10 sec.delay between RunDeviceBefore() and RunOperations()
|
||||
|
||||
IList<Event> events = State.RunOperations();
|
||||
return events;
|
||||
///
|
||||
|
||||
Loading…
Reference in New Issue
Block a user