Bug fixes in test method sequences : return missing in case of a configuration error.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace TBF.Rig.TestMethods.FixedStartAdvanced
|
||||
if (scale == null)
|
||||
{
|
||||
Bridge.OnError(this, Strings.Missing_a_scale);
|
||||
new List<Event> { Event.ConfigurationError };
|
||||
return new List<Event> { Event.ConfigurationError };
|
||||
}
|
||||
|
||||
int rangeIx = 0; /// Default range, used for non-Elde flowmeters
|
||||
@@ -88,7 +88,7 @@ namespace TBF.Rig.TestMethods.FixedStartAdvanced
|
||||
if (rangeIx == -1)
|
||||
{
|
||||
Bridge.OnError(this, Strings.Flow_meter_temperature_range_does_not_fit_this_test_conditions);
|
||||
new List<Event> { Event.ConfigurationError };
|
||||
return new List<Event> { Event.ConfigurationError };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user