From a88f9d888f3c0d759cec2c80e13cb7204fd9e856 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 11 Jul 2025 16:45:10 +0200 Subject: [PATCH] Fix conf prod che resta aperto troppo --- MP-TAB3/Components/ProdConfirm.razor.cs | 9 ++++++++- MP-TAB3/MP-TAB3.csproj | 2 +- MP-TAB3/Resources/ChangeLog.html | 2 +- MP-TAB3/Resources/VersNum.txt | 2 +- MP-TAB3/Resources/manifest.xml | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/MP-TAB3/Components/ProdConfirm.razor.cs b/MP-TAB3/Components/ProdConfirm.razor.cs index 88ce77f5..eab1cb97 100644 --- a/MP-TAB3/Components/ProdConfirm.razor.cs +++ b/MP-TAB3/Components/ProdConfirm.razor.cs @@ -6,8 +6,14 @@ using NLog.Fluent; namespace MP_TAB3.Components { - public partial class ProdConfirm + public partial class ProdConfirm:IDisposable { + + public void Dispose() + { + confTimer.Elapsed -= ConfTimer_Elapsed; + } + #region Public Properties /// @@ -251,6 +257,7 @@ namespace MP_TAB3.Components /// private void ConfTimer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e) { + confTimer.Stop(); showConfirmResult = false; // resetto lastPzBuoni = 0; diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 1d338f3e..0ac28071 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2507.1111 + 6.16.2507.1116 enable MP_TAB3 diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index c477cfe4..0e371b9e 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2507.1111

+

Versione: 6.16.2507.1116


Note di rilascio: