Chinese translations, part 2
This commit is contained in:
@@ -47,7 +47,7 @@ namespace TBF.BenchControl.ResultsPrinters.Zapiska
|
||||
///
|
||||
readonly IList<string> testNames;
|
||||
readonly int testsPerMeter;
|
||||
readonly IList<Config.ResultItemSpec> resultItems;
|
||||
readonly IList<Results.ItemSpec> resultItems;
|
||||
|
||||
///
|
||||
/// Data to print
|
||||
@@ -90,7 +90,7 @@ namespace TBF.BenchControl.ResultsPrinters.Zapiska
|
||||
if (tr.BatchNr > batchMax) batchMax = tr.BatchNr;
|
||||
}
|
||||
|
||||
resultItems = Config.ResultItemSpec.FromStrArray(Program.LocalSettings.RsltItems_Printer_SingleWM);
|
||||
resultItems = Results.ItemSpec.FromStrArray(Program.LocalSettings.RsltItems_Printer_SingleWM);
|
||||
|
||||
testNames = Utils.GetDecoratedTestNames(procedure, 1);
|
||||
testsPerMeter = testNames.Count;
|
||||
@@ -128,9 +128,10 @@ namespace TBF.BenchControl.ResultsPrinters.Zapiska
|
||||
int k = 2 + j * resultItems.Count;
|
||||
foreach (var item in resultItems)
|
||||
{
|
||||
string str = item.Print(results[j].Meters[wmNr]);
|
||||
int pos = str.IndexOf('|');
|
||||
dataToPrint[nrRows, k++] = (pos < 0) ? str : str.Substring(0, pos);
|
||||
///TODO
|
||||
//string str = item.Print(results[j].Meters[wmNr]);
|
||||
//int pos = str.IndexOf('|');
|
||||
//dataToPrint[nrRows, k++] = (pos < 0) ? str : str.Substring(0, pos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user