Fix catena update ODL in doppia tavola
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2311.1017</Version>
|
||||
<Version>6.16.2311.1019</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB_SERV</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<MachineBlock RecMSE="CurrMSE" FullMode="false"></MachineBlock>
|
||||
<MachineBlock RecMSE="CurrMSE" FullMode="false" IdxMacchSub="@IdxMaccSubSel"></MachineBlock>
|
||||
<OdlMan RecMSE="CurrMSE" E_Updated="RefreshData" E_MachSel="SetMacc"></OdlMan>
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2311.1017</h4>
|
||||
<h4>Versione: 6.16.2311.1019</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2311.1017
|
||||
6.16.2311.1019
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2311.1017</version>
|
||||
<version>6.16.2311.1019</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user