diff --git a/MP.SPEC/Components/ListDossiers.razor b/MP.SPEC/Components/ListDossiers.razor
index 0001cc13..6c04d24c 100644
--- a/MP.SPEC/Components/ListDossiers.razor
+++ b/MP.SPEC/Components/ListDossiers.razor
@@ -58,14 +58,14 @@ else
}
else
{
-
+
| Macchina |
Data |
ODL |
- DATA TYPE |
- |
+ Valore |
+ |
@@ -81,8 +81,11 @@ else
@record.CodFlux
|
+
+ @record.Valore
+ |
- @record.Valore
+
|
}
diff --git a/MP.SPEC/Components/ListDossiers.razor.cs b/MP.SPEC/Components/ListDossiers.razor.cs
index 0f64796e..6ef78953 100644
--- a/MP.SPEC/Components/ListDossiers.razor.cs
+++ b/MP.SPEC/Components/ListDossiers.razor.cs
@@ -244,8 +244,14 @@ namespace MP.SPEC.Components
private async Task toggleTableFlux()
{
-
- visualizzaFlux = !visualizzaFlux;
+
+ visualizzaFlux = false;
+ await Task.Delay(1);
+ }
+ private async Task unToggleTableFlux()
+ {
+
+ visualizzaFlux = true;
await Task.Delay(1);
}
diff --git a/MP.SPEC/Data/SelectDossierParams.cs b/MP.SPEC/Data/SelectDossierParams.cs
index 9c83245a..09a3630f 100644
--- a/MP.SPEC/Data/SelectDossierParams.cs
+++ b/MP.SPEC/Data/SelectDossierParams.cs
@@ -10,10 +10,25 @@
#endregion Public Constructors
#region Public Properties
+
+ ///
+ /// Inizializzazione con periodo e arrotondamento
+ ///
+ ///
+ ///
+ ///
+ public static DateTime Init(int minRound, int numDayPrev)
+ {
+ TimeSpan DayElapsed = DateTime.Now.Subtract(DateTime.Today);
+ int minDay = (int)(DayElapsed.TotalMinutes / minRound) * minRound;
+ DateTime endRounded = DateTime.Today.AddMinutes(minDay);
+ return endRounded;
+ }
+
public string IdxMacchina { get; set; } = "*";
public int MaxRecord { get; set; } = 100;
- public DateTime DtRef { get; set; } = DateTime.Now;
+ public DateTime DtRef { get; set; } = Init(5, 1);
public int CurrPage { get; set; } = 1;
#endregion Public Properties
@@ -28,8 +43,8 @@
if (IdxMacchina != item.IdxMacchina)
return false;
- ////if (MaxRecord != item.MaxRecord)
- //// return false;
+ if (MaxRecord != item.MaxRecord)
+ return false;
if (DtRef != item.DtRef)
return false;
diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj
index 33a0391f..3ab99e74 100644
--- a/MP.SPEC/MP.SPEC.csproj
+++ b/MP.SPEC/MP.SPEC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.SPEC
- 6.15.2209.2017
+ 6.15.2209.2108
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html
index 2a289b2f..a3441d96 100644
--- a/MP.SPEC/Resources/ChangeLog.html
+++ b/MP.SPEC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.15.2209.2017
+ Versione: 6.15.2209.2108
Note di rilascio:
-
diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt
index dd429b18..39734096 100644
--- a/MP.SPEC/Resources/VersNum.txt
+++ b/MP.SPEC/Resources/VersNum.txt
@@ -1 +1 @@
-6.15.2209.2017
+6.15.2209.2108
diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml
index 0f75efa3..8d602ec9 100644
--- a/MP.SPEC/Resources/manifest.xml
+++ b/MP.SPEC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.15.2209.2017
+ 6.15.2209.2108
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html
false