Munich: Possibility to print the protocol again, ver.2.7.299
This commit is contained in:
@@ -24,8 +24,7 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
|
||||
/// <summary> Data to print </summary>
|
||||
Results.Entities.Batch batch;
|
||||
|
||||
public string Title;
|
||||
public string Version { get { return printerCfg.Version; } }
|
||||
public string Version { get { return printerCfg.Version; } }
|
||||
|
||||
|
||||
public Printer()
|
||||
@@ -47,7 +46,6 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
|
||||
public IOperation PrintResultsOp(Results.Entities.Batch batch)
|
||||
{
|
||||
this.batch = batch;
|
||||
this.Title = batch.ProtocolTitle;
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -56,7 +54,7 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
|
||||
{
|
||||
foreach (var wm in batch.WaterMeters)
|
||||
{
|
||||
new MunichPrintDocument(this, wm, printerCfg.PageOrientation).Print();
|
||||
new MunichPrintDocument(printerCfg.Version, wm, printerCfg.PageOrientation).Print();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user