MP-IO:
- correzione metodi gestione apertura/chiusura nuovo PODL
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user