ProcedureName added to TestResults entity, Basic writer changes

This commit is contained in:
Milan Hanajik
2014-07-29 15:06:29 +02:00
parent 019e85066f
commit 8c83965315
5 changed files with 27 additions and 9 deletions
@@ -20,7 +20,8 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
const int Tab3 = 430;
const int Tab4 = 590;
const int BorderW = 1; /// Table border line width
const int Margin = 7; /// Margins of the text from table lines
const int MarginTop = 7; /// Margins of the text from table lines
const int MarginLeft = 4; /// Margins of the text from table lines
/// Initialized in the constructor
readonly Printer prn;
@@ -324,11 +325,11 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
{
const int NrParamsInOneTableRow = 6;
int x = 267 + (parNr % NrParamsInOneTableRow) * 80 + Margin;
int y = top + SpacingOneAndHalf + Margin + testNr * SpacingOneAndHalf
int x = 267 + (parNr % NrParamsInOneTableRow) * 80 + MarginLeft;
int y = top + SpacingOneAndHalf + MarginTop + testNr * SpacingOneAndHalf
+ ((parNr >= NrParamsInOneTableRow) ? secondTableOffset : 0);
if (parNr < 0) x = 80 + Margin; /// When parNr == -1 return the left column x coordinate
if (parNr < 0) x = 80 + MarginLeft; /// When parNr == -1 return the left column x coordinate
return new Point(x, y);
}