Output.Printers.OnePerBatch does not print empty auto-test protocols.
This commit is contained in:
@@ -166,11 +166,15 @@ namespace TBF.BenchControl.Output.Printers.OnePerBatch
|
||||
}
|
||||
catch
|
||||
{
|
||||
documentName = string.Format("{0}-{1}", batch.BatchNr, wm.WMPosition);
|
||||
documentName = string.Format("{0}", batch.BatchNr, wm.WMPosition);
|
||||
}
|
||||
|
||||
PrintResults(batch, wm, documentName);
|
||||
break;
|
||||
/// The following condition prevents printing empty AutoTest results protocols
|
||||
if (string.IsNullOrEmpty(printerCfg.AutoTestParam) || wm.AutoMeterTestRslts(printerCfg.AutoTestParam).Count > 0)
|
||||
{
|
||||
PrintResults(batch, wm, documentName);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user