出站字段
This commit is contained in:
@@ -2078,26 +2078,24 @@ namespace JinYuan.ControlCenters
|
||||
//发送产品结果参数给MES
|
||||
bool Res1 = CommonMethods.hbgMes.ProducResultParam(ur2, siteCode1, lineCode1, equipNum1, materialCode1, userName1, m, unloadType, ref Mesage);
|
||||
list[i].PlcResult = MyRes[i];
|
||||
#region 排出 3 外观NG电芯,4 厚度NG电芯
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
#region 排出 5 厚度NG电芯 6 外观NG电芯,
|
||||
if (list[i].PlcResult != 1)
|
||||
{
|
||||
if (list[i].PlcResult != 1)
|
||||
//厚度不良分档 5 测厚不良 6 外观不良
|
||||
if (list[i].CCD19 != 1)
|
||||
{
|
||||
//厚度不良分档 5 测厚不良 6 外观不良
|
||||
if (list[i].CCD19 != 1)
|
||||
{
|
||||
m.Result = MyRes[i] = 5;
|
||||
list[i].Remark += $",测厚度NG";
|
||||
}
|
||||
else
|
||||
{
|
||||
//外观不良分档
|
||||
m.Result = MyRes[i] = 6;
|
||||
list[i].Remark += $",外观检NG不良";
|
||||
}
|
||||
|
||||
m.Result = MyRes[i] = 5;
|
||||
list[i].Remark += $",测厚度NG";
|
||||
}
|
||||
else
|
||||
{
|
||||
//外观不良分档
|
||||
m.Result = MyRes[i] = 6;
|
||||
list[i].Remark += $",外观检NG不良";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
if (m.Flag == 1)
|
||||
|
||||
Reference in New Issue
Block a user