Changes simplyfying debugging.
This commit is contained in:
@@ -338,10 +338,11 @@ namespace TBF.BenchControl.Sequences
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void Execute()
|
public void Execute()
|
||||||
{
|
{
|
||||||
IList<Event> e;
|
IList<Event> e = new List<Event>();
|
||||||
Selection selection;
|
Selection selection;
|
||||||
string selectedTestName;
|
string selectedTestName;
|
||||||
|
|
||||||
|
#if !DEBUG
|
||||||
Bridge.OnActivity(this, Strings.Starting_system);
|
Bridge.OnActivity(this, Strings.Starting_system);
|
||||||
WaitForOkButton();
|
WaitForOkButton();
|
||||||
SetValvesToDefaultState();
|
SetValvesToDefaultState();
|
||||||
@@ -397,9 +398,9 @@ namespace TBF.BenchControl.Sequences
|
|||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stop;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.BalanceDone));
|
while (!e.Contains(Event.BalanceDone));
|
||||||
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------
|
select_procedure:
|
||||||
select_procedure:
|
|
||||||
|
|
||||||
CloseBeginForm(); /// Make sure the CycleBeginForm is closed (after an abnormal end, etc.)
|
CloseBeginForm(); /// Make sure the CycleBeginForm is closed (after an abnormal end, etc.)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -224,7 +224,7 @@ namespace TBF
|
|||||||
form.CloseForm(null, new EventArgs());
|
form.CloseForm(null, new EventArgs());
|
||||||
formThread.Join();
|
formThread.Join();
|
||||||
|
|
||||||
#if !MUNICH
|
#if !DEBUG && !MUNICH
|
||||||
if (message != null)
|
if (message != null)
|
||||||
{
|
{
|
||||||
MessageBox.Show(Strings.The_following_components_are_in_simulation_mode_ + Environment.NewLine + message,
|
MessageBox.Show(Strings.The_following_components_are_in_simulation_mode_ + Environment.NewLine + message,
|
||||||
|
|||||||
Reference in New Issue
Block a user