From d1f9dc03abaed16f7dc921b57d651209a80e3d93 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Sat, 8 Mar 2025 08:06:03 +0100 Subject: [PATCH] TAB3: - fix placeholder mappa stato --- MP-TAB3/Components/MachineBlock.razor | 82 ++++++++++++++++++++----- MP-TAB3/Components/ProdConfirm.razor.cs | 8 --- MP-TAB3/MP-TAB3.csproj | 2 +- MP-TAB3/Resources/ChangeLog.html | 2 +- MP-TAB3/Resources/VersNum.txt | 2 +- MP-TAB3/Resources/manifest.xml | 2 +- 6 files changed, 71 insertions(+), 27 deletions(-) diff --git a/MP-TAB3/Components/MachineBlock.razor b/MP-TAB3/Components/MachineBlock.razor index 1f3fb84d..e7925ce5 100644 --- a/MP-TAB3/Components/MachineBlock.razor +++ b/MP-TAB3/Components/MachineBlock.razor @@ -1,22 +1,74 @@ @if (isLoading) { -
-
-
- - - - - - - - - - - ...loading stage 1... + @if (FullMode) + { +
+
+
+
+ +
+
+ +
+
+ + + +
+
+ +
+
+ + + + + + +
+
-
+ } + else + { +
+
+
+
+ +
+
+ + + + + + + +
+
+ +
+
+ + + + + + + +
+
+ + + +
+
+
+
+ } } else { diff --git a/MP-TAB3/Components/ProdConfirm.razor.cs b/MP-TAB3/Components/ProdConfirm.razor.cs index 5809c2c9..a336c64e 100644 --- a/MP-TAB3/Components/ProdConfirm.razor.cs +++ b/MP-TAB3/Components/ProdConfirm.razor.cs @@ -274,18 +274,14 @@ namespace MP_TAB3.Components protected async Task SalvaConfPz() { - int delay = 1; isProcessing = true; Log.Info("Conf 01"); // effettua conferma con conf da DB del tipo (giorni / turni / periodo bool fatto = effettuaConfermaProd(); - await Task.Delay(delay); await TabDServ.FlushCache("StatoProd"); - await Task.Delay(delay); Log.Info("Conf 02"); // refresh tabella dati tablet... await TabDServ.RicalcMse(IdxMaccSel, 0); - await Task.Delay(delay); Log.Info("Conf 03"); // rileggo e salvo.. var ListMSE = await SDService.MseGetAll(true); @@ -296,20 +292,16 @@ namespace MP_TAB3.Components // aggiorno MSE attuale RecMSE = ListMSE.Find(x => x.IdxMacchina == IdxMaccSel); } - await Task.Delay(delay); // mostro output lblOut = $"Confermata produzione {numPzConfermati - numPzLasciati} pezzi (+{numPzLasciati} pz lasciati, +{numPzScarto2Rec} pz scarto) |{dtReqUpdate:HH:mm:ss} | {dtReqUpdate:ddd yyyy.MM.dd}"; // cambio button conferma... confProdActive = false; numPzLasciati = 0; - await Task.Delay(delay); dtReqUpdate = DateTime.Now; // azzero cache pezzi conf SDService.MachNumPzSet(IdxMaccSel, -1); await DoUpdate(); - await Task.Delay(delay); await RefreshData(); - await Task.Delay(delay); TabDServ.NotifyDataInvalidated(IdxMaccSel); Log.Info("Conf 04"); isProcessing = false; diff --git a/MP-TAB3/MP-TAB3.csproj b/MP-TAB3/MP-TAB3.csproj index 13c9afb6..10cc639d 100644 --- a/MP-TAB3/MP-TAB3.csproj +++ b/MP-TAB3/MP-TAB3.csproj @@ -3,7 +3,7 @@ net6.0 enable - 6.16.2503.722 + 6.16.2503.807 enable MP_TAB3 diff --git a/MP-TAB3/Resources/ChangeLog.html b/MP-TAB3/Resources/ChangeLog.html index eae63147..a35f518c 100644 --- a/MP-TAB3/Resources/ChangeLog.html +++ b/MP-TAB3/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2503.722

+

Versione: 6.16.2503.807


Note di rilascio:
  • diff --git a/MP-TAB3/Resources/VersNum.txt b/MP-TAB3/Resources/VersNum.txt index 8a473663..6b0df209 100644 --- a/MP-TAB3/Resources/VersNum.txt +++ b/MP-TAB3/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2503.722 +6.16.2503.807 diff --git a/MP-TAB3/Resources/manifest.xml b/MP-TAB3/Resources/manifest.xml index 95ddc311..e1a9c666 100644 --- a/MP-TAB3/Resources/manifest.xml +++ b/MP-TAB3/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2503.722 + 6.16.2503.807 https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html false