Ancora update x testing e fix avanzamento BATCH/BUNKS

This commit is contained in:
Samuele E. Locatelli
2020-07-15 16:34:46 +02:00
parent 64b8e26683
commit 7713638f3e
9 changed files with 307 additions and 238 deletions
@@ -76,7 +76,10 @@ namespace NKC_WF.WebUserControls
bool doRaiseEv = false;
// processo evento..
lastCmd = cmp_barcode.inputAcquired.ToUpper();
if (lastCmd == "") doRaiseEv = true;
if (lastCmd == "")
{
doRaiseEv = true;
}
// processiamo barcode letto
decodedData decoData = DataLayer.man.decodeBcode(lastCmd);
switch (decoData.codeType)
@@ -178,7 +181,7 @@ namespace NKC_WF.WebUserControls
break;
}
// reset comando
cmp_barcode.inputAcquired = "";
cmp_barcode.resetInput();
// aggiorno...
doUpdate();
// se richiesto faccio raiseEvent
@@ -280,13 +283,11 @@ namespace NKC_WF.WebUserControls
cmp_stackNextloading.doUpdate();
// segnalo avanzamento su redis x pagina unload
ComLib.advaceSheetRevByBunk(BatchIdCurr);
// controllo update stato BATCH/BUNK
ComLib.updateBatchPosition(BatchIdCurr);
raiseEvent();
}
}
protected void lbtAdvanceBunk_Click(object sender, EventArgs e)
{
// simula invio barcode del PROSSIMO BUNK (SE necessario)
}
}
}