Update x cambio posizione BATCH da stato BUNK/SHEETS

This commit is contained in:
Samuele E. Locatelli
2020-02-15 17:05:16 +01:00
parent 19b9834bf7
commit 79547a69fb
6 changed files with 127 additions and 46 deletions
@@ -100,12 +100,12 @@ namespace NKC_WF.WebUserControls
}
else
{
// controllo sia quello RICHIESTO, eventualemtne permetteremo TUTTI quelli del giorno in ogni ordine...
// controllo sia quello RICHIESTO, eventualmente permetteremo TUTTI quelli del giorno in ogni ordine...
if (decoData.codeInt == cmp_stackNextloading.StackIdReq)
{
cmp_barcode.showOutput("badge badge-success", $"BUNK OK, {decoData.rawData}");
ComLib.taktMLCurrStack = decoData.code;
// processo DB e salvbo che lo stack è stato caricato in MACHINE LOAD
// processo DB e salvo che lo stack è stato caricato in MACHINE LOAD
int stackId = 0;
try
{
@@ -121,6 +121,8 @@ namespace NKC_WF.WebUserControls
if (stackId > 0)
{
DataLayer.man.taSTL.updatePos(stackId, 5);
// controllo status del bunk nel suo insieme...
ComLib.updateBatchPositionByBunk(stackId);
doRaiseEv = true;
}
}