Aggiunta decodifica BP (bin PROCESSED) e sec screen
This commit is contained in:
@@ -139,6 +139,24 @@ namespace AppData
|
||||
answ.codeInt = codeInt;
|
||||
answ.description = $"Bin: {answ.code}";
|
||||
}
|
||||
else if (bcValue.StartsWith("BP"))
|
||||
{
|
||||
answ.codeType = codeType.BinProcessed;
|
||||
answ.code = bcValue.Replace("BP", "");
|
||||
int codeInt = 0;
|
||||
int.TryParse(answ.code, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out codeInt);
|
||||
answ.codeInt = codeInt;
|
||||
answ.description = $"Processed Bin: {answ.code}";
|
||||
}
|
||||
else if (bcValue.StartsWith("SS"))
|
||||
{
|
||||
answ.codeType = codeType.SecScreen;
|
||||
answ.code = bcValue.Replace("SS", "");
|
||||
int codeInt = 0;
|
||||
int.TryParse(answ.code, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out codeInt);
|
||||
answ.codeInt = codeInt;
|
||||
answ.description = $"Secondary Screen : {answ.code}";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -188,7 +188,9 @@ public enum codeType
|
||||
Stack,
|
||||
Batch,
|
||||
Cart,
|
||||
Bin
|
||||
Bin,
|
||||
BinProcessed,
|
||||
SecScreen
|
||||
}
|
||||
/// <summary>
|
||||
/// tipologia di report (FILE rdlc) gestito in stampa...
|
||||
|
||||
Reference in New Issue
Block a user