diff --git a/MP-TAB-SERV/Components/MachineBlock.razor.cs b/MP-TAB-SERV/Components/MachineBlock.razor.cs
index a9723242..3ede46ee 100644
--- a/MP-TAB-SERV/Components/MachineBlock.razor.cs
+++ b/MP-TAB-SERV/Components/MachineBlock.razor.cs
@@ -164,11 +164,11 @@ namespace MP_TAB_SERV.Components
protected override void OnParametersSet()
{
isLoading = RecMSE == null;
- //// controllo SE avessi idxMacchSub --> rileggo!
- //if (!string.IsNullOrEmpty(IdxMacchSub) && RecMSE != null)
- //{
- // RecMSE = TabDServ.MseGetSub(RecMSE.IdxMacchina, IdxMacchSub, true);
- //}
+ // controllo SE avessi idxMacchSub --> rileggo!
+ if (!string.IsNullOrEmpty(IdxMacchSub) && RecMSE != null)
+ {
+ RecMSE = TabDServ.MseGetSub(RecMSE.IdxMacchina, IdxMacchSub, true);
+ }
setGaugeVals();
}
diff --git a/MP-TAB-SERV/Components/OdlMan.razor.cs b/MP-TAB-SERV/Components/OdlMan.razor.cs
index 20cff024..c166639a 100644
--- a/MP-TAB-SERV/Components/OdlMan.razor.cs
+++ b/MP-TAB-SERV/Components/OdlMan.razor.cs
@@ -790,13 +790,9 @@ namespace MP_TAB_SERV.Components
protected async Task SetMacc(string selIdxMacc)
{
- isProcessing = true;
- await Task.Delay(10);
IdxMaccSel = selIdxMacc;
await DoUpdate();
- isProcessing = false;
await E_MachSel.InvokeAsync(selIdxMacc);
- await Task.Delay(10);
}
protected async Task ToggleOdlDetail()
diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj
index a7bdcc19..4fc13f95 100644
--- a/MP-TAB-SERV/MP-TAB-SERV.csproj
+++ b/MP-TAB-SERV/MP-TAB-SERV.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 6.16.2311.1017
+ 6.16.2311.1019
enable
MP_TAB_SERV
diff --git a/MP-TAB-SERV/Pages/ODL.razor b/MP-TAB-SERV/Pages/ODL.razor
index 8f141d37..cea8d71f 100644
--- a/MP-TAB-SERV/Pages/ODL.razor
+++ b/MP-TAB-SERV/Pages/ODL.razor
@@ -7,6 +7,6 @@
}
else
{
-
+
}
diff --git a/MP-TAB-SERV/Pages/ODL.razor.cs b/MP-TAB-SERV/Pages/ODL.razor.cs
index 016371db..fd99ee58 100644
--- a/MP-TAB-SERV/Pages/ODL.razor.cs
+++ b/MP-TAB-SERV/Pages/ODL.razor.cs
@@ -50,15 +50,11 @@ namespace MP_TAB_SERV.Pages
}
}
- protected async Task SetMacc(string selIdxMacc)
+ private string IdxMaccSubSel = "";
+
+ protected void SetMacc(string selIdxMacc)
{
- CurrMSE = null;
- await Task.Delay(1);
- IdxMacc = selIdxMacc;
- await MsgServ.IdxMaccSet(selIdxMacc);
- // recupero MSE macchina....
- CurrMSE = await MsgServ.GetMachineMse(IdxMacc);
- await InvokeAsync(StateHasChanged);
+ IdxMaccSubSel = selIdxMacc;
}
#endregion Protected Methods
diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html
index dcb3afed..84db16e8 100644
--- a/MP-TAB-SERV/Resources/ChangeLog.html
+++ b/MP-TAB-SERV/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 6.16.2311.1017
+ Versione: 6.16.2311.1019
Note di rilascio:
-
diff --git a/MP-TAB-SERV/Resources/VersNum.txt b/MP-TAB-SERV/Resources/VersNum.txt
index 8b8eb08c..0c7d7816 100644
--- a/MP-TAB-SERV/Resources/VersNum.txt
+++ b/MP-TAB-SERV/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2311.1017
+6.16.2311.1019
diff --git a/MP-TAB-SERV/Resources/manifest.xml b/MP-TAB-SERV/Resources/manifest.xml
index 998f69ad..d91e2e95 100644
--- a/MP-TAB-SERV/Resources/manifest.xml
+++ b/MP-TAB-SERV/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2311.1017
+ 6.16.2311.1019
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html
false
diff --git a/MP.Data/Controllers/MpTabController.cs b/MP.Data/Controllers/MpTabController.cs
index 6224c7ac..50a5b34f 100644
--- a/MP.Data/Controllers/MpTabController.cs
+++ b/MP.Data/Controllers/MpTabController.cs
@@ -782,7 +782,7 @@ namespace MP.Data.Controllers
var IdxMacchSub = new SqlParameter("@IdxMacchSub", idxMacchSub);
dbResult = dbCtx
.DbSetMSE
- .FromSqlRaw("EXEC stp_ODL_fineProd @IdxMacchina, @IdxMacchSub", IdxMacc, IdxMacchSub)
+ .FromSqlRaw("EXEC stp_MSE_getByIdxMacchAndSub @IdxMacchina, @IdxMacchSub", IdxMacc, IdxMacchSub)
.AsNoTracking()
.ToList();
}