TransitionContext.AfterTestWithOverlap, PID coef. set earlier as well, nextHydroTest in MainSeq.

This commit is contained in:
Milan Hanajik
2019-10-24 12:56:59 +02:00
parent f1147031a1
commit dbe87a375d
11 changed files with 379 additions and 126 deletions
-26
View File
@@ -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>