Batch.SaveTime set at the end of a cycle, clean-up

This commit is contained in:
Milan Hanajik 2023-03-30 12:13:23 +02:00
parent 1eda22a391
commit 02fae9b11e
4 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
///
/// Copyright (c) 2015-2021 Sensus Slovensko a.s.
/// Copyright (c) 2015-2023 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;

View File

@ -1,5 +1,5 @@
///
/// Copyright (c) 2015-2020 Sensus Slovensko a.s.
/// Copyright (c) 2015-2023 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;

View File

@ -1,5 +1,5 @@
///
/// Copyright (c) 2015-2021 Sensus Slovensko a.s.
/// Copyright (c) 2015-2023 Sensus Slovensko a.s.
///
using FluentNHibernate.Mapping;
using Results.Entities;

View File

@ -1284,6 +1284,7 @@ namespace TBF.Rig.Sequences
}
}
BatchRslts.Batch.EndTime = lastTestEndTime;
BatchRslts.Batch.SaveTime = DateTime.Now;
Results.Utils.GetCounterStates(BatchRslts.Batch, Program.LocalSettings.Counters); /// Update counters
/// Remove results of internal tests