Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 86d28f1901 | |||
| 202c5f6faf | |||
| e2947d1017 |
@@ -68,10 +68,6 @@ namespace MP.Mon.Components
|
|||||||
}
|
}
|
||||||
if (needUpdate)
|
if (needUpdate)
|
||||||
{
|
{
|
||||||
if (false)
|
|
||||||
{
|
|
||||||
Log.Trace($"Elapsed Timer {CurrRecord?.CodMacchina}");
|
|
||||||
}
|
|
||||||
await InvokeAsync(() => StateHasChanged());
|
await InvokeAsync(() => StateHasChanged());
|
||||||
}
|
}
|
||||||
OldRecord = CurrRecord;
|
OldRecord = CurrRecord;
|
||||||
|
|||||||
@@ -119,12 +119,12 @@ namespace MP.Mon.Data
|
|||||||
{
|
{
|
||||||
Stopwatch stopWatch = new Stopwatch();
|
Stopwatch stopWatch = new Stopwatch();
|
||||||
stopWatch.Start();
|
stopWatch.Start();
|
||||||
List<MappaStatoExpl> result = new List<MappaStatoExpl>();
|
List<MappaStatoExpl>? result = new List<MappaStatoExpl>();
|
||||||
// cerco in redis...
|
// cerco in redis...
|
||||||
var rawData = await redisDb.StringGetAsync(redisMseKey);
|
RedisValue rawData = await redisDb.StringGetAsync(redisMseKey);
|
||||||
if (!string.IsNullOrEmpty(rawData))
|
if (rawData != RedisValue.Null || rawData != RedisValue.EmptyString)
|
||||||
{
|
{
|
||||||
result = JsonConvert.DeserializeObject<List<MappaStatoExpl>>(rawData);
|
result = JsonConvert.DeserializeObject<List<MappaStatoExpl>>($"{rawData}");
|
||||||
stopWatch.Stop();
|
stopWatch.Stop();
|
||||||
TimeSpan ts = stopWatch.Elapsed;
|
TimeSpan ts = stopWatch.Elapsed;
|
||||||
Log.Debug($"Read from REDIS: {ts.TotalMilliseconds}ms");
|
Log.Debug($"Read from REDIS: {ts.TotalMilliseconds}ms");
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Version>6.15.2207.1219</Version>
|
<Version>6.15.2207.1308</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<i>Modulo MON MAPO</i>
|
<i>Modulo MON MAPO</i>
|
||||||
<h4>Versione: 6.15.2207.1219</h4>
|
<h4>Versione: 6.15.2207.1308</h4>
|
||||||
<br /> Note di rilascio:
|
<br /> Note di rilascio:
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
6.15.2207.1219
|
6.15.2207.1308
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<item>
|
<item>
|
||||||
<version>6.15.2207.1219</version>
|
<version>6.15.2207.1308</version>
|
||||||
<url>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip</url>
|
<url>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/MP.Mon.zip</url>
|
||||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html</changelog>
|
<changelog>https://nexus.steamware.net/repository/SWS/MP-MON/stable/LAST/ChangeLog.html</changelog>
|
||||||
<mandatory>false</mandatory>
|
<mandatory>false</mandatory>
|
||||||
|
|||||||
Reference in New Issue
Block a user