From f4572783420ca565726c3c90f8d0a82987dfc55f Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Thu, 30 Mar 2023 12:13:23 +0200 Subject: [PATCH] Batch.SaveTime set at the end of a cycle, clean-up --- Results/Entities/Batch.cs | 2 +- Results/Entities/TestRslt.cs | 2 +- Results/Mappings/BatchMap.cs | 2 +- TBF/Rig/Sequences/MainSeq.cs | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Results/Entities/Batch.cs b/Results/Entities/Batch.cs index 02afc2904..72dd57829 100644 --- a/Results/Entities/Batch.cs +++ b/Results/Entities/Batch.cs @@ -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; diff --git a/Results/Entities/TestRslt.cs b/Results/Entities/TestRslt.cs index 9380b0db7..a1ccfd26c 100644 --- a/Results/Entities/TestRslt.cs +++ b/Results/Entities/TestRslt.cs @@ -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; diff --git a/Results/Mappings/BatchMap.cs b/Results/Mappings/BatchMap.cs index 7556785bd..611288bcd 100644 --- a/Results/Mappings/BatchMap.cs +++ b/Results/Mappings/BatchMap.cs @@ -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; diff --git a/TBF/Rig/Sequences/MainSeq.cs b/TBF/Rig/Sequences/MainSeq.cs index b6e8ef83a..879b2e769 100644 --- a/TBF/Rig/Sequences/MainSeq.cs +++ b/TBF/Rig/Sequences/MainSeq.cs @@ -1322,6 +1322,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