出站的qualityStatus只有OK/NG
This commit is contained in:
@@ -2346,7 +2346,7 @@ namespace JY.Inspection
|
||||
var lstError = new List<short>();
|
||||
containers.ListResult[index] = GetResult(m, ref strErr, ref lstError);
|
||||
|
||||
m.Result = containers.ListResult[index] == 1 ? "OK" : "NG";
|
||||
m.Result = containers.ListResult[index] == 1 ? ConstValue.CCD_OK : ConstValue.CCD_NG;
|
||||
m.Remark = strErr;
|
||||
|
||||
// 4. 判断扫码NG与CCD NG
|
||||
@@ -2715,7 +2715,7 @@ namespace JY.Inspection
|
||||
AssembleLineList = new List<AssembleLine>() {
|
||||
new AssembleLine() {
|
||||
Identification = m.ArrivalBarCode,
|
||||
QualityStatus = m.Result,
|
||||
QualityStatus = m.Result == ConstValue.CCD_OK ? ConstValue.CCD_OK : ConstValue.CCD_NG,
|
||||
// TODO NG编码
|
||||
QrCode = string.Empty,
|
||||
NgCode = new string[] { string.Empty },
|
||||
|
||||
Reference in New Issue
Block a user