Bugfixes in: (1) DataEntry.Munich.EntryForm, (2) Screens.ProcessTabPage6,24,48, (3) DataEntry.Munich3 (cosmetical), ver.2.7.287

This commit is contained in:
Milan Hanajik
2016-05-19 17:29:02 +02:00
parent af0de8734a
commit cf57f3ab01
6 changed files with 22 additions and 21 deletions
@@ -567,7 +567,7 @@ namespace TBF.Screens
if (!tRes.Batch.Compound)
{
for (int i = 0; i < textBoxesCount; i++)
for (int i = 0; i < Math.Min(textBoxesCount, ProcessData.BatchRslts.WaterMeters.Length); i++)
{
Results.Entities.WaterMeter wm = ProcessData.BatchRslts.WaterMeters[i];
Results.Entities.MeterTestRslt mtr = (wm != null) ? wm.GetMeterTestRslt(args.TestName) : null;