StateMachine timing period is 2 seconds for iPerlST bench, 1 second for other all benches.

This commit is contained in:
Milan Hanajik
2015-08-19 13:00:00 +02:00
parent 22c652ad24
commit fa6b99b980
4 changed files with 11 additions and 7 deletions
@@ -54,8 +54,12 @@ namespace TBF.BenchControl
public static IList<Elde.ValveEx.Valve> ExtendedValves; /// list of extended valves
/// Time and synchronization
public const int Period = 1; /// State machine period in sec.
/// Time and synchronization
#if IPERLST
public const int Period = 2; /// State machine period in sec.
#else
public const int Period = 1; /// State machine period in sec.
#endif
static DateTime startDateTime; /// DateTime of time instance when the state machine worker thread starts
static int currentTimeSec; /// Time from the start of the state machine in seconds
static bool quitStateMachine; /// flag to stop the worker thread