@if (ShowCharts == true)
{
-
+
}
@if (ListRecords == null)
{
@@ -66,7 +66,7 @@
@foreach (var record in ListRecords)
{
-
+
| @record.IdxMacchina |
@record.KeyRichiesta
diff --git a/MP.Stats/Pages/Energy.razor.cs b/MP.Stats/Pages/Energy.razor.cs
index 32e8afa0..f4a9b001 100644
--- a/MP.Stats/Pages/Energy.razor.cs
+++ b/MP.Stats/Pages/Energy.razor.cs
@@ -51,18 +51,7 @@ namespace MP.Stats.Pages
[Inject]
protected MpStatsService StatService { get; set; }
- protected int totalCount
- {
- get
- {
- int answ = 0;
- if (SearchRecords != null)
- {
- answ = SearchRecords.Count;
- }
- return answ;
- }
- }
+ protected int totalCount = 0;
[Inject]
protected TranslateSrv TradService { get; set; }
@@ -71,14 +60,19 @@ namespace MP.Stats.Pages
#region Protected Methods
- protected string checkSelect(int IdxODL)
+ ///
+ /// Verifica: se è nullo il valore pz totali --> current --> indico non confermato
+ ///
+ ///
+ ///
+ protected string checkCurrent(OdlEnergyModel testRec)
{
string answ = "";
- if (currRecord != null)
+ if (testRec != null)
{
try
{
- answ = (currRecord.IdxOdl == IdxODL) ? "table-info" : "";
+ answ = (testRec.TotCount01 + testRec.TotCount02 + testRec.TotCount03) == 0 || testRec.DataFine == null ? "table-warning opacity-50" : "";
}
catch
{ }
@@ -272,6 +266,7 @@ namespace MP.Stats.Pages
private async Task ReloadData()
{
SearchRecords = await StatService.StatOdlEnergyGetAll(currFilter, MServ.SearchVal);
+ totalCount = SearchRecords.Count;
DisplayData();
}
diff --git a/MP.Stats/Pages/TrendAnalysis.razor b/MP.Stats/Pages/TrendAnalysis.razor
index cb6d58aa..cb934cb1 100644
--- a/MP.Stats/Pages/TrendAnalysis.razor
+++ b/MP.Stats/Pages/TrendAnalysis.razor
@@ -5,7 +5,7 @@
@if (isLoading)
diff --git a/MP.Stats/Resources/ChangeLog.html b/MP.Stats/Resources/ChangeLog.html
index e6c21b4e..50fc96da 100644
--- a/MP.Stats/Resources/ChangeLog.html
+++ b/MP.Stats/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo statistiche MAPO
- Versione: 6.16.2507.0213
+ Versione: 6.16.2507.0217
Note di rilascio:
diff --git a/MP.Stats/Resources/VersNum.txt b/MP.Stats/Resources/VersNum.txt
index 294dc18e..c0a31142 100644
--- a/MP.Stats/Resources/VersNum.txt
+++ b/MP.Stats/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2507.0213
+6.16.2507.0217
diff --git a/MP.Stats/Resources/manifest.xml b/MP.Stats/Resources/manifest.xml
index 73b20bf6..a8ea4ca5 100644
--- a/MP.Stats/Resources/manifest.xml
+++ b/MP.Stats/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2507.0213
+ 6.16.2507.0217
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
|