Defines re-arranged so that new benches do not require any modification, bug in BADGER fixed.

This commit is contained in:
Milan Hanajik
2015-09-17 19:14:18 +02:00
parent 7afb780d5b
commit 62cd81b5f7
5 changed files with 44 additions and 44 deletions
@@ -60,6 +60,7 @@ namespace TBF.BenchControl
#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
@@ -195,7 +196,7 @@ namespace TBF.BenchControl
public static void InitializeBoardEtc(ControlComponent3F300.UserControl1 ctrlBrdComponent)
#elif PT200IL
public static void InitializeBoardEtc(ControlComponent_Izrael2014.UserControl1 ctrlBrdComponent)
#elif TORINO50 || BADGER_MALA_TRAT || TORUN_PT50_2015 || CEVAK_PT40_272 || IPERLST
#else /// all newer benches
public static void InitializeBoardEtc(ControlComponent_Torino2015.UserControl1 ctrlBrdComponent)
#endif
{