diff --git a/MP.IOC/Components/Pages/CallStats.razor b/MP.IOC/Components/Pages/CallStats.razor index c4b4fda7..8af9d9a4 100644 --- a/MP.IOC/Components/Pages/CallStats.razor +++ b/MP.IOC/Components/Pages/CallStats.razor @@ -41,18 +41,26 @@ } else { -
- -
-
- +
+
+
+
+
+ +
+
+ +
+
+
+
}
@if (!string.IsNullOrEmpty(currHistId)) {
-
+
@@ -71,23 +79,23 @@
- @currDetail + Andamento chiamate @currDetail
# giorni +
+
+ +
-
- -
-
+ } } - } +
- - } + } + - diff --git a/MP.IOC/Components/Pages/CallStats.razor.cs b/MP.IOC/Components/Pages/CallStats.razor.cs index c758c683..a1047464 100644 --- a/MP.IOC/Components/Pages/CallStats.razor.cs +++ b/MP.IOC/Components/Pages/CallStats.razor.cs @@ -9,28 +9,6 @@ namespace MP.IOC.Components.Pages { public partial class CallStats { - #region Protected Properties - - private int numDays - { - get => _numDays; - set - { - if (_numDays != value) - { - _numDays = value; - //_ = ShowDetail(currDetail); - } - } - } - private async Task OnDaysChangedAsync() - { - // Questo metodo viene invocato automaticamente dopo che numDays รจ stato aggiornato - await ShowDetail(currDetail); - // Non serve chiamare StateHasChanged(), Blazor lo fa al termine del Task - } - #endregion Protected Properties - #region Protected Methods protected override async Task OnInitializedAsync() @@ -42,7 +20,6 @@ namespace MP.IOC.Components.Pages #region Private Fields - private int _numDays = 5; private List currData = new(); private string currDetail = ""; @@ -59,6 +36,8 @@ namespace MP.IOC.Components.Pages private List lineTitles = new List(); + private int numDays = 5; + private Dictionary> ParetoDay = new(); private List tsData = new List(); @@ -116,7 +95,7 @@ namespace MP.IOC.Components.Pages private int ParetoTake { - get => currData.Count() <= 30 ? currData.Count() : 30; + get => currData.Count() <= 25 ? currData.Count() : 25; } [Inject] @@ -227,6 +206,11 @@ namespace MP.IOC.Components.Pages return colors; } + private async Task OnDaysChangedAsync() + { + await ShowDetail(currDetail); + } + private async Task ReloadData() { ParetoDay = await SDetService.GetParetoStatsDayAsync(); diff --git a/MP.IOC/MP.IOC.csproj b/MP.IOC/MP.IOC.csproj index e27b2a70..c37c7f83 100644 --- a/MP.IOC/MP.IOC.csproj +++ b/MP.IOC/MP.IOC.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 6.16.2604.1810 + 6.16.2604.1811 diff --git a/MP.IOC/Resources/ChangeLog.html b/MP.IOC/Resources/ChangeLog.html index 7205caf2..a07b3da9 100644 --- a/MP.IOC/Resources/ChangeLog.html +++ b/MP.IOC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MP-IOC -

Versione: 6.16.2604.1810

+

Versione: 6.16.2604.1811


Note di rilascio:
  • diff --git a/MP.IOC/Resources/VersNum.txt b/MP.IOC/Resources/VersNum.txt index c12ee4c3..fe5ddc90 100644 --- a/MP.IOC/Resources/VersNum.txt +++ b/MP.IOC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2604.1810 +6.16.2604.1811 diff --git a/MP.IOC/Resources/manifest.xml b/MP.IOC/Resources/manifest.xml index ab333392..c9a0a7fc 100644 --- a/MP.IOC/Resources/manifest.xml +++ b/MP.IOC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2604.1810 + 6.16.2604.1811 https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html false