Chinese translations, part 2

This commit is contained in:
Milan Hanajik
2016-03-16 21:23:49 +08:00
parent aee1990243
commit a9c7e1fa25
8 changed files with 372 additions and 1261 deletions
@@ -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);
}
}
}