- correzione metodi gestione apertura/chiusura nuovo PODL
This commit is contained in:
Samuele Locatelli
2023-04-11 11:42:46 +02:00
parent 8063e5f07b
commit d645bce02b
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace MP_MAG.Controllers
#region Public Methods
/// <summary>
/// Restituisce un array JSon x le conf delle code di stampa
/// Restituisce un array JSon x le conf dei report
/// GET: api/PrintQueueConf
/// </summary>
/// <returns>lista oggetto Json in formato SteamwareSDK.queueConf</returns>
+5 -3
View File
@@ -1857,7 +1857,9 @@ namespace MapoDb
}
}
else
{ }
{
answ = "NF";
}
}
catch (Exception exc)
{
@@ -2112,8 +2114,8 @@ namespace MapoDb
string format = "yyyyMMddHHmmssfff";
dtEvento = DateTime.ParseExact(dtEve, format, provider);
dtCorrente = DateTime.ParseExact(dtCurr, format, provider);
Int64 tiks = dtCorrente.Ticks - dtEvento.Ticks;
dataOraEvento = dataOraEvento.AddTicks(-tiks);
TimeSpan deltaTS = dtCorrente.Subtract(dtEvento);
dataOraEvento = dataOraEvento.Add(-deltaTS);
}
}
catch (Exception exc)