Completamento gestione display BatchID corrente
This commit is contained in:
@@ -468,15 +468,29 @@ namespace NKC_WF.WebUserControls
|
||||
break;
|
||||
|
||||
case codeType.Item:
|
||||
tryPickup(decoData.rawData);
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid IT Code: {decoData.rawData}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
if (string.IsNullOrEmpty(MachineSel))
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.danger, $"{traduci("MissingMachineSel")}: {decoData.rawData} --> {traduci("NoValiAction")}");
|
||||
}
|
||||
else
|
||||
{
|
||||
tryPickup(decoData.rawData);
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid IT Code: {decoData.rawData}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
}
|
||||
break;
|
||||
|
||||
case codeType.ItemGeneric:
|
||||
tryPickup(decoData.rawData);
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid IG Code: {decoData.rawData}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
if (string.IsNullOrEmpty(MachineSel))
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.danger, $"{traduci("MissingMachineSel")}: {decoData.rawData} --> {traduci("NoValiAction")}");
|
||||
}
|
||||
else
|
||||
{
|
||||
tryPickup(decoData.rawData);
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid IG Code: {decoData.rawData}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
}
|
||||
break;
|
||||
|
||||
case codeType.Material:
|
||||
@@ -505,18 +519,39 @@ namespace NKC_WF.WebUserControls
|
||||
break;
|
||||
|
||||
case codeType.Cart:
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid CR Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
if (string.IsNullOrEmpty(MachineSel))
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.danger, $"{traduci("MissingMachineSel")}: {decoData.rawData} --> {traduci("NoValiAction")}");
|
||||
}
|
||||
else
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid CR Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
}
|
||||
break;
|
||||
|
||||
case codeType.Bin:
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid BN Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
if (string.IsNullOrEmpty(MachineSel))
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.danger, $"{traduci("MissingMachineSel")}: {decoData.rawData} --> {traduci("NoValiAction")}");
|
||||
}
|
||||
else
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid BN Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
}
|
||||
break;
|
||||
|
||||
case codeType.SecScreen:
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid Screen Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
if (string.IsNullOrEmpty(MachineSel))
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.danger, $"{traduci("MissingMachineSel")}: {decoData.rawData} --> {traduci("NoValiAction")}");
|
||||
}
|
||||
else
|
||||
{
|
||||
cmp_barcode.showOutput(cssClass.success, $"Valid Screen Code: {decoData.description}");
|
||||
processItemSuggestion(decoData.codeType, decoData.rawData, decoData.codeInt);
|
||||
}
|
||||
break;
|
||||
|
||||
case codeType.MachSelection:
|
||||
|
||||
Reference in New Issue
Block a user