Basic results printer modified as well.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2015 Sensus Metering Systems
|
||||
/// Copyright (c) 2013-2016 Sensus Metering Systems
|
||||
///
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -20,6 +20,8 @@ namespace TBF.BenchControl.ResultsPrinters.Basic
|
||||
///
|
||||
public PageOrientation PageOrientation;
|
||||
public int TopMargin;
|
||||
public int BottomMargin;
|
||||
public int LeftMargin;
|
||||
public bool SupressPrinting; /// Bypass printing when true
|
||||
|
||||
/// Private parameterless constructor invoked by all other (public) constructors
|
||||
@@ -29,6 +31,8 @@ namespace TBF.BenchControl.ResultsPrinters.Basic
|
||||
ParentName = string.Empty;
|
||||
PageOrientation = PageOrientation.Portrait;
|
||||
TopMargin = 100;
|
||||
BottomMargin = 100;
|
||||
LeftMargin = 100;
|
||||
SupressPrinting = false;
|
||||
}
|
||||
|
||||
@@ -40,10 +44,12 @@ namespace TBF.BenchControl.ResultsPrinters.Basic
|
||||
|
||||
public string ToString(int i)
|
||||
{
|
||||
return string.Format("Name={0}, Orientation={1}, TopMargin={2}, SupressPrinting={3}",
|
||||
return string.Format("Name={0}, Orientation={1}, Margins T={2} B={3} L={4}, SupressPrinting={5}",
|
||||
Name,
|
||||
PageOrientation,
|
||||
TopMargin,
|
||||
BottomMargin,
|
||||
LeftMargin,
|
||||
SupressPrinting ? "yes" : "no"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user