- @if (ListRecords == null)
+ @if (isLoading)
+ {
+
+ }
+ else if (ListRecords == null)
{
}
@@ -61,6 +65,7 @@
Next |
Result |
}
+
|
@@ -103,10 +108,13 @@
@($"{record.DtNextExec:ddd HH:mm:ss}")
- @record.LastDuration sec
+ @record.LastDuration.ToString("N3") sec
@record.LastResult
|
}
+
+
+ |
}
diff --git a/MP.Stats/Pages/TaskScheduler.razor.cs b/MP.Stats/Pages/TaskScheduler.razor.cs
index b81b6e8a..40991053 100644
--- a/MP.Stats/Pages/TaskScheduler.razor.cs
+++ b/MP.Stats/Pages/TaskScheduler.razor.cs
@@ -140,6 +140,18 @@ namespace MP.Stats.Pages
await ReloadData();
}
+ protected async Task doRun(TaskListModel selRec)
+ {
+ isLoading = true;
+ detRecord = null;
+ await Task.Delay(100);
+ // chiama esecuzione task
+ var result = await StatService.ExecuteTask(selRec.TaskId);
+ isLoading = false;
+ detRecord = selRec;
+ await ReloadData();
+ }
+
protected async Task ForceReload(int newNum)
{
numRecord = newNum;
diff --git a/MP.Stats/Program.cs b/MP.Stats/Program.cs
index 1726dc14..0922ce22 100644
--- a/MP.Stats/Program.cs
+++ b/MP.Stats/Program.cs
@@ -23,7 +23,8 @@ namespace MP.Stats
.ConfigureLogging(logging =>
{
logging.ClearProviders();
- logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
+ logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Debug);
+ //logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
})
.UseNLog();
diff --git a/MP.Stats/Resources/ChangeLog.html b/MP.Stats/Resources/ChangeLog.html
index 91755965..32d8d55c 100644
--- a/MP.Stats/Resources/ChangeLog.html
+++ b/MP.Stats/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo statistiche MAPO
-
Versione: 6.16.2404.0211
+
Versione: 6.16.2404.0219
Note di rilascio:
diff --git a/MP.Stats/Resources/VersNum.txt b/MP.Stats/Resources/VersNum.txt
index 1e2cfa9a..c2805d00 100644
--- a/MP.Stats/Resources/VersNum.txt
+++ b/MP.Stats/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2404.0211
+6.16.2404.0219
diff --git a/MP.Stats/Resources/manifest.xml b/MP.Stats/Resources/manifest.xml
index 61ca7d63..65fc5426 100644
--- a/MP.Stats/Resources/manifest.xml
+++ b/MP.Stats/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2404.0211
+ 6.16.2404.0219
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html
false