Bug fix in ProcessTabPageCtrl : Exception when simulating, ver. 3.6.2067

This commit is contained in:
Milan Hanajik 2023-06-27 17:26:04 +02:00
parent 30f9ea19dd
commit 7a2afd1bdc
2 changed files with 5 additions and 4 deletions

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.6.2062.0")]
[assembly: AssemblyFileVersion("3.6.2062.0")]
[assembly: AssemblyVersion("3.6.2067.0")]
[assembly: AssemblyFileVersion("3.6.2067.0")]

View File

@ -1081,8 +1081,9 @@ namespace TBF.UI.Process
void OnTestCompleted(object sender, TestCompletedEventArgs args)
{
if (ProcessData.RegisterReaders == null || ProcessData.BatchRslts == null ||
ProcessData.BatchRslts.Batch == null || ProcessData.BatchRslts.Batch.WaterMeters == null)
if (args.TestRslt == null || ProcessData.RegisterReaders == null || ProcessData.BatchRslts == null
|| ProcessData.BatchRslts.Batch == null
|| ProcessData.BatchRslts.Batch.WaterMeters == null)
{
return;
}