TransitionContext.AfterTestWithOverlap, PID coef. set earlier as well, nextHydroTest in MainSeq.
This commit is contained in:
@@ -265,32 +265,6 @@ namespace TBF
|
||||
return wmPartNr;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return test title for a given test and a repetition number
|
||||
/// </summary>
|
||||
/// <param name="test">Test entity</param>
|
||||
/// <param name="repetitonNr">1 .. Nr. repetitions</param>
|
||||
/// <returns>Test title (string)</returns>
|
||||
public static string TestTitle(Test test, int repetitonNr)
|
||||
{
|
||||
if (test.Repeats == 1)
|
||||
{
|
||||
if (test.Part == 0)
|
||||
{
|
||||
return test.Name; /// Single test
|
||||
}
|
||||
else
|
||||
{
|
||||
return string.Format("{0} ({1})", test.Name, test.Part); /// A part of a single test
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/// More test repetitions
|
||||
return string.Format("{0} ({1}/{2})", test.Name, repetitonNr, test.Repeats);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return test title for a given test data and a repetition number
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user