Entry form related improvements / bugfixes (Fixed start collection method related).
This commit is contained in:
parent
221669283d
commit
39eb2cfd57
6
TODO.txt
6
TODO.txt
@ -1,6 +1,6 @@
|
|||||||
- historia ordrov (cez settingy)
|
- dokoncenie process obrazovky + rozsirenie pre 12 a 24 meracov
|
||||||
|
- stranka pre analyzy
|
||||||
- dokoncenie process obrazovky
|
------------
|
||||||
- brat desatinnu bodku aj ciarku
|
- brat desatinnu bodku aj ciarku
|
||||||
- dat zapamatanie polohy RV do Parametrov
|
- dat zapamatanie polohy RV do Parametrov
|
||||||
- moznost prepinania klapky to Transition sekvencii (aby sa dala kontrolovat tesnost ventilov)
|
- moznost prepinania klapky to Transition sekvencii (aby sa dala kontrolovat tesnost ventilov)
|
||||||
|
|||||||
@ -163,7 +163,6 @@ namespace TBF.BenchControl.Sequences
|
|||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed (aftrer an abnormal procedure/test end, etc.)
|
/// Make sure the CycleBeginForm is closed (aftrer an abnormal procedure/test end, etc.)
|
||||||
CloseBeginForm();
|
CloseBeginForm();
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
|
|
||||||
selection = MakeSelection(MKSelContext.ProcedureNotSelected);
|
selection = MakeSelection(MKSelContext.ProcedureNotSelected);
|
||||||
|
|
||||||
@ -178,7 +177,6 @@ namespace TBF.BenchControl.Sequences
|
|||||||
|
|
||||||
/// Display 'Cycle Begin Form'
|
/// Display 'Cycle Begin Form'
|
||||||
if (OpenCycleBeginForm()) goto stop;
|
if (OpenCycleBeginForm()) goto stop;
|
||||||
cycleBeginFormOpened = true;
|
|
||||||
|
|
||||||
/// Find purge suquences
|
/// Find purge suquences
|
||||||
Entities.TransitionSequence purgeBegin = null;
|
Entities.TransitionSequence purgeBegin = null;
|
||||||
@ -231,6 +229,7 @@ namespace TBF.BenchControl.Sequences
|
|||||||
}
|
}
|
||||||
|
|
||||||
select_cycle_or_test:
|
select_cycle_or_test:
|
||||||
|
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
selection = MakeSelection(MKSelContext.InsideProcedure);
|
selection = MakeSelection(MKSelContext.InsideProcedure);
|
||||||
///
|
///
|
||||||
@ -240,6 +239,8 @@ namespace TBF.BenchControl.Sequences
|
|||||||
|
|
||||||
cycle_or_test_selected:
|
cycle_or_test_selected:
|
||||||
|
|
||||||
|
if (WaitBeginFormClosed()) goto stop; /// Make sure the entry form is closed
|
||||||
|
|
||||||
Bridge.Bench2UI(ButtonsEtc.StopBtnEn); /// Hide buttons
|
Bridge.Bench2UI(ButtonsEtc.StopBtnEn); /// Hide buttons
|
||||||
|
|
||||||
if (selection == Selection.Cycle)
|
if (selection == Selection.Cycle)
|
||||||
@ -284,15 +285,8 @@ namespace TBF.BenchControl.Sequences
|
|||||||
{
|
{
|
||||||
StateMachine.LoadTestParams(test);
|
StateMachine.LoadTestParams(test);
|
||||||
|
|
||||||
//--------------------------------------------------------------
|
|
||||||
e = testMethodSequence.Execute(test);
|
e = testMethodSequence.Execute(test);
|
||||||
|
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stop;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (e.Contains(Event.ConfigurationError)) goto select_cycle_or_test;
|
if (e.Contains(Event.ConfigurationError)) goto select_cycle_or_test;
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.OpArgumentError)) goto config_error;
|
if (e.Contains(Event.OpArgumentError)) goto config_error;
|
||||||
@ -334,15 +328,8 @@ namespace TBF.BenchControl.Sequences
|
|||||||
{
|
{
|
||||||
StateMachine.LoadTestParams(test);
|
StateMachine.LoadTestParams(test);
|
||||||
|
|
||||||
//--------------------------------------------------------------
|
|
||||||
e = testMethodSequence.Execute(test);
|
e = testMethodSequence.Execute(test);
|
||||||
|
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stop;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.OpArgumentError)) goto config_error;
|
if (e.Contains(Event.OpArgumentError)) goto config_error;
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stop;
|
||||||
@ -378,7 +365,6 @@ namespace TBF.BenchControl.Sequences
|
|||||||
{
|
{
|
||||||
CloseBeginForm();
|
CloseBeginForm();
|
||||||
}
|
}
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
|
|
||||||
Bridge.OnActivity(this, "Enter protocol data");
|
Bridge.OnActivity(this, "Enter protocol data");
|
||||||
|
|
||||||
|
|||||||
@ -103,8 +103,6 @@ namespace TBF.BenchControl.Sequences
|
|||||||
protected static float TimeEstimateBeginRpts; /// Time estimate at the beginning of all repetitions of the current tests
|
protected static float TimeEstimateBeginRpts; /// Time estimate at the beginning of all repetitions of the current tests
|
||||||
protected static float TimeEstimateOneTest; /// Time estimate of the current test (one repetition)
|
protected static float TimeEstimateOneTest; /// Time estimate of the current test (one repetition)
|
||||||
|
|
||||||
protected static bool cycleBeginFormOpened;
|
|
||||||
|
|
||||||
static SequenceBase()
|
static SequenceBase()
|
||||||
{
|
{
|
||||||
results = new List<Entities.TestResult>();
|
results = new List<Entities.TestResult>();
|
||||||
@ -116,8 +114,6 @@ namespace TBF.BenchControl.Sequences
|
|||||||
WMVolumes[i] = new FloatBox() { Name = string.Format("Volume{0}", i), Format = "F2" };
|
WMVolumes[i] = new FloatBox() { Name = string.Format("Volume{0}", i), Format = "F2" };
|
||||||
WMErrors[i] = new FloatBox() { Name = string.Format("Error{0}", i), Format = "F2" };
|
WMErrors[i] = new FloatBox() { Name = string.Format("Error{0}", i), Format = "F2" };
|
||||||
}
|
}
|
||||||
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///------------------------------------------------------------
|
///------------------------------------------------------------
|
||||||
|
|||||||
@ -240,11 +240,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -338,11 +338,7 @@ namespace TBF.BenchControl.TestMethods.CombinedMeters
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
/// Optionally supress pulses from the large water meter
|
/// Optionally supress pulses from the large water meter
|
||||||
if (testParams.SupressTrills)
|
if (testParams.SupressTrills)
|
||||||
|
|||||||
@ -38,14 +38,14 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
checkUiOp = new Operations.CheckUIOp(true); /// Runs in more then one state
|
checkUiOp = new Operations.CheckUIOp(true); /// Runs in more then one state
|
||||||
|
|
||||||
//--------------------------------
|
//--------------------------------
|
||||||
State.Create("CombinedWithDetection : stop diverter gate etc")
|
State.Create("CombinedWithDetection : stopTest diverter gate etc")
|
||||||
.AddOperation(checkUiOp)
|
.AddOperation(checkUiOp)
|
||||||
.AddOperation(cBrd.StopPreviousOp())
|
.AddOperation(cBrd.StopPreviousOp())
|
||||||
.EnterState();
|
.EnterState();
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.PreviousStopped));
|
while (!e.Contains(Event.PreviousStopped));
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (Transition(transitionStart, TransitionContext.TestStart))
|
switch (Transition(transitionStart, TransitionContext.TestStart))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
//====================================
|
//====================================
|
||||||
@ -93,7 +93,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.BalanceDone));
|
while (!e.Contains(Event.BalanceDone));
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (EmptyTheTank(outPath.EmptyTankValve, outPath.Balance))
|
switch (EmptyTheTank(outPath.EmptyTankValve, outPath.Balance))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
switching_flow_detection:
|
switching_flow_detection:
|
||||||
@ -141,7 +141,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
||||||
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.ValvesSet));
|
while (!e.Contains(Event.ValvesSet));
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
||||||
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
if (e.Contains(Event.RegulValveTimeOut))
|
if (e.Contains(Event.RegulValveTimeOut))
|
||||||
{
|
{
|
||||||
Bridge.OnError(this, Strings.Timeout);
|
Bridge.OnError(this, Strings.Timeout);
|
||||||
@ -172,7 +172,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (ReadRegistersTempPressAmbient(measureOperations, false))
|
switch (ReadRegistersTempPressAmbient(measureOperations, false))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
//====================================
|
//====================================
|
||||||
@ -215,7 +215,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
||||||
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.PositionReached));
|
while (!e.Contains(Event.PositionReached));
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (ReadRegistersTempPressAmbient(measureOperations, false))
|
switch (ReadRegistersTempPressAmbient(measureOperations, false))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
int time = StateMachine.Time;
|
int time = StateMachine.Time;
|
||||||
@ -350,7 +350,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
||||||
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
if (e.Contains(Event.RegulValveTimeOut))
|
if (e.Contains(Event.RegulValveTimeOut))
|
||||||
{
|
{
|
||||||
Bridge.OnError(this, Strings.Timeout);
|
Bridge.OnError(this, Strings.Timeout);
|
||||||
@ -376,7 +376,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
float progress = Formulas.TestProgress(flowSetTime, estFlowSetTime, test.TstTime);
|
||||||
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
Bridge.OnTestProgress(this, GetTestProgressData(test, tstRslt, false, cBrd, flowSetTime, progress));
|
||||||
|
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
//if (e.Contains(Event.FlowTimeOut)) goto do_detection;
|
//if (e.Contains(Event.FlowTimeOut)) goto do_detection;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.FlowReached));
|
while (!e.Contains(Event.FlowReached));
|
||||||
@ -396,7 +396,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.BalanceDone));
|
while (!e.Contains(Event.BalanceDone));
|
||||||
|
|
||||||
@ -416,7 +416,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.MeasurementStarted));
|
while (!e.Contains(Event.MeasurementStarted));
|
||||||
|
|
||||||
@ -437,7 +437,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (ReadRegistersTempPressAmbient(measureOperations, true))
|
switch (ReadRegistersTempPressAmbient(measureOperations, true))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
case Event.MeasurementCompleted: goto measurement_completed;
|
case Event.MeasurementCompleted: goto measurement_completed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -503,7 +503,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.Error)) goto error;
|
if (e.Contains(Event.Error)) goto error;
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.BalanceDone));
|
while (!e.Contains(Event.BalanceDone));
|
||||||
///
|
///
|
||||||
@ -522,7 +522,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.ValvesSet));
|
while (!e.Contains(Event.ValvesSet));
|
||||||
|
|
||||||
@ -535,17 +535,13 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
e = StateMachine.WaitRunDevsRunOps();
|
e = StateMachine.WaitRunDevsRunOps();
|
||||||
if (e.Contains(Event.UiCmdStop)) goto stop;
|
if (e.Contains(Event.UiCmdStop)) goto stopTest;
|
||||||
}
|
}
|
||||||
while (!e.Contains(Event.PreviousStopped));
|
while (!e.Contains(Event.PreviousStopped));
|
||||||
|
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stop;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Optionally supress pulses from the large water meter
|
/// Optionally supress pulses from the large water meter
|
||||||
if (testParams.SupressTrills)
|
if (testParams.SupressTrills)
|
||||||
@ -671,7 +667,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
switch (Transition(transitionStop, TransitionContext.TestEnd))
|
switch (Transition(transitionStop, TransitionContext.TestEnd))
|
||||||
{
|
{
|
||||||
case Event.Error: goto error;
|
case Event.Error: goto error;
|
||||||
case Event.UiCmdStop: goto stop;
|
case Event.UiCmdStop: goto stopTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create the return value - a list with one event Event.Done - and return
|
/// Create the return value - a list with one event Event.Done - and return
|
||||||
@ -680,7 +676,7 @@ namespace TBF.BenchControl.TestMethods.CombinedWithDetection
|
|||||||
return retval1;
|
return retval1;
|
||||||
|
|
||||||
//====================================
|
//====================================
|
||||||
stop:
|
stopTest:
|
||||||
|
|
||||||
State.Create("CombinedWithDetection : User selected STOP -> Closing the valves")
|
State.Create("CombinedWithDetection : User selected STOP -> Closing the valves")
|
||||||
.AddOperation(checkUiOp)
|
.AddOperation(checkUiOp)
|
||||||
|
|||||||
@ -474,11 +474,7 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -209,11 +209,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStart
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -370,11 +370,7 @@ namespace TBF.BenchControl.TestMethods.FlyingStartCollectionMethod
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -253,11 +253,7 @@ namespace TBF.BenchControl.TestMethods.LeakTest
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -172,11 +172,7 @@ namespace TBF.BenchControl.TestMethods.PMaxTest
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
@ -326,11 +326,7 @@ namespace TBF.BenchControl.TestMethods.ReferenceFlowmeterCalibration
|
|||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
|
|
||||||
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
/// Make sure the CycleBeginForm is closed so that water meter data (s/n) can be copied into results
|
||||||
if (cycleBeginFormOpened)
|
|
||||||
{
|
|
||||||
cycleBeginFormOpened = false;
|
|
||||||
if (WaitBeginFormClosed()) goto stopTest;
|
if (WaitBeginFormClosed()) goto stopTest;
|
||||||
}
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Populate TestResult data entity with data
|
/// Populate TestResult data entity with data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user