- fix fluxLogModel
This commit is contained in:
Samuele E. Locatelli
2025-03-08 10:49:40 +01:00
parent 57c41c7a60
commit 88edbe763b
4 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -722,9 +722,9 @@ namespace MP.IOC.Data
/// <param name="CodFlux">*=tutti, altrimenti solo selezionato</param>
/// <param name="MaxRec">numero massimo record da restituire</param>
/// <returns></returns>
public async Task<List<FluxLog>> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec, double redisCacheSec)
public async Task<List<FluxLogModel>> FluxLogGetLastFilt(DateTime DtMax, DateTime DtMin, string IdxMacchina, string CodFlux, int MaxRec, double redisCacheSec)
{
List<FluxLog>? result = new List<FluxLog>();
List<FluxLogModel>? result = new List<FluxLogModel>();
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
string readType = "DB";
@@ -733,7 +733,7 @@ namespace MP.IOC.Data
RedisValue rawData = redisDb.StringGet(currKey);
if (rawData.HasValue)
{
result = JsonConvert.DeserializeObject<List<FluxLog>>($"{rawData}");
result = JsonConvert.DeserializeObject<List<FluxLogModel>>($"{rawData}");
readType = "REDIS";
}
else
@@ -752,7 +752,7 @@ namespace MP.IOC.Data
}
if (result == null)
{
result = new List<FluxLog>();
result = new List<FluxLogModel>();
}
stopWatch.Stop();
TimeSpan ts = stopWatch.Elapsed;
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MP-IOC </i>
<h4>Versione: 6.16.2411.408</h4>
<h4>Versione: 6.16.2503.810</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2411.408
6.16.2503.810
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2411.408</version>
<version>6.16.2503.810</version>
<url>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>