diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index cfa0a166..d17b2802 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2502.2815 + 6.16.2503.109 enable MP_TAB3 diff --git a/MP-TAB3/Pages/ForceReset.razor b/MP-TAB3/Pages/ForceReset.razor index b2688f6d..75993290 100644 --- a/MP-TAB3/Pages/ForceReset.razor +++ b/MP-TAB3/Pages/ForceReset.razor @@ -1,20 +1,20 @@ @page "/force-reset" -
-
- -
-
- +
+
+ +
+
+ +
+
+ + +
+
-@* *@ @code { @@ -23,19 +23,50 @@ [Inject] protected MessageService MsgServ { get; set; } = null!; + private int currVal = 0; + private int nextVal = 0; + private int expTimeMsec = 10; + private int bDelay = 350; + private string title = "..."; /// /// Esecuzione task di reset... /// /// protected override async Task OnInitializedAsync() { + title = "Reset and Reload Data"; + currVal = 0; + nextVal = 10; + await InvokeAsync(StateHasChanged); // svuoto cache MsgServ.LastIdxMacchina = ""; + await Task.Delay(bDelay); + title = "Clearing Local Browser Data"; + currVal = 10; + nextVal = 30; + await InvokeAsync(StateHasChanged); await MsgServ.ClearLocalStor(); + await Task.Delay(bDelay); + title = "Clearing Session Browser Data"; + currVal = 30; + nextVal = 50; + await InvokeAsync(StateHasChanged); await MsgServ.ClearSessionStor(); + await Task.Delay(bDelay); + title = "Final Cache cleanup..."; + currVal = 50; + nextVal = 80; + MsgServ.RigaOper = null; + MsgServ.LastIdxMacchina = ""; + await InvokeAsync(StateHasChanged); + await Task.Delay(2 * bDelay); // attendo - await Task.Delay(1000); + title = "Reload!"; + currVal = 80; + nextVal = 100; + await InvokeAsync(StateHasChanged); // rimando alla home... + await Task.Delay(bDelay); navManager.NavigateTo("", true); } } diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index 4fc06f35..72886eac 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2502.2815

+

Versione: 6.16.2503.109


Note di rilascio: