From a7bfc78395602df7094eac52114620a1561bf1b5 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 19 Feb 2025 12:11:15 +0100 Subject: [PATCH] Fix ritardo autoOdl x evitare problemi conferme non prese da sim in ufficio (clock drift IIS/SQL) --- MapoDb/DataLayer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MapoDb/DataLayer.cs b/MapoDb/DataLayer.cs index dd88eba2..5ba70cbe 100644 --- a/MapoDb/DataLayer.cs +++ b/MapoDb/DataLayer.cs @@ -832,8 +832,8 @@ namespace MapoDb Log.Info($"Eccezione in ConfermaProduzione{Environment.NewLine}{exc}", tipoLog.EXCEPTION); } } - // attendo 100 msec - Thread.Sleep(100); + // attendo 1000 msec x chiudere ODL + Thread.Sleep(1000); // chiamo splitOdl MapoDbObj.taODL.autoStart(currData[0].IdxODL, 0, idxMacchina, currData[0].TCRichAttr, currData[0].PzPallet, $"Nuovo ODL da forceSplitOdl", true, qtyNew, keyRichiesta); // elimino eventuale ODL precedente...