diff --git a/MP.Mon/Components/DetailMSE.razor.cs b/MP.Mon/Components/DetailMSE.razor.cs index baaee191..2d14f15e 100644 --- a/MP.Mon/Components/DetailMSE.razor.cs +++ b/MP.Mon/Components/DetailMSE.razor.cs @@ -68,10 +68,6 @@ namespace MP.Mon.Components } if (needUpdate) { - if (false) - { - Log.Trace($"Elapsed Timer {CurrRecord?.CodMacchina}"); - } await InvokeAsync(() => StateHasChanged()); } OldRecord = CurrRecord; diff --git a/MP.Mon/Data/MpDataService.cs b/MP.Mon/Data/MpDataService.cs index 11036e53..a866fd02 100644 --- a/MP.Mon/Data/MpDataService.cs +++ b/MP.Mon/Data/MpDataService.cs @@ -119,12 +119,12 @@ namespace MP.Mon.Data { Stopwatch stopWatch = new Stopwatch(); stopWatch.Start(); - List result = new List(); + List? result = new List(); // cerco in redis... - var rawData = await redisDb.StringGetAsync(redisMseKey); - if (!string.IsNullOrEmpty(rawData)) + RedisValue rawData = await redisDb.StringGetAsync(redisMseKey); + if (rawData != RedisValue.Null || rawData != RedisValue.EmptyString) { - result = JsonConvert.DeserializeObject>(rawData); + result = JsonConvert.DeserializeObject>($"{rawData}"); stopWatch.Stop(); TimeSpan ts = stopWatch.Elapsed; Log.Debug($"Read from REDIS: {ts.TotalMilliseconds}ms"); diff --git a/MP.Mon/MP.Mon.csproj b/MP.Mon/MP.Mon.csproj index 7884b444..ace36f67 100644 --- a/MP.Mon/MP.Mon.csproj +++ b/MP.Mon/MP.Mon.csproj @@ -4,7 +4,7 @@ net6.0 enable enable - 6.15.2207.1219 + 6.15.2207.1308 diff --git a/MP.Mon/Resources/ChangeLog.html b/MP.Mon/Resources/ChangeLog.html index bf88f821..e3216031 100644 --- a/MP.Mon/Resources/ChangeLog.html +++ b/MP.Mon/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MON MAPO -

Versione: 6.15.2207.1219

+

Versione: 6.15.2207.1308


Note di rilascio:
  • diff --git a/MP.Mon/Resources/VersNum.txt b/MP.Mon/Resources/VersNum.txt index 46d049fe..83b476d6 100644 --- a/MP.Mon/Resources/VersNum.txt +++ b/MP.Mon/Resources/VersNum.txt @@ -1 +1 @@ -6.15.2207.1219 +6.15.2207.1308 diff --git a/MP.Mon/Resources/manifest.xml b/MP.Mon/Resources/manifest.xml index 283e348b..3d9ab476 100644 --- a/MP.Mon/Resources/manifest.xml +++ b/MP.Mon/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.15.2207.1219 + 6.15.2207.1308 https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html false