出站字段
This commit is contained in:
@@ -2078,26 +2078,24 @@ namespace JinYuan.ControlCenters
|
|||||||
//发送产品结果参数给MES
|
//发送产品结果参数给MES
|
||||||
bool Res1 = CommonMethods.hbgMes.ProducResultParam(ur2, siteCode1, lineCode1, equipNum1, materialCode1, userName1, m, unloadType, ref Mesage);
|
bool Res1 = CommonMethods.hbgMes.ProducResultParam(ur2, siteCode1, lineCode1, equipNum1, materialCode1, userName1, m, unloadType, ref Mesage);
|
||||||
list[i].PlcResult = MyRes[i];
|
list[i].PlcResult = MyRes[i];
|
||||||
#region 排出 3 外观NG电芯,4 厚度NG电芯
|
#region 排出 5 厚度NG电芯 6 外观NG电芯,
|
||||||
for (int i = 0; i < list.Count; i++)
|
if (list[i].PlcResult != 1)
|
||||||
{
|
{
|
||||||
if (list[i].PlcResult != 1)
|
//厚度不良分档 5 测厚不良 6 外观不良
|
||||||
|
if (list[i].CCD19 != 1)
|
||||||
{
|
{
|
||||||
//厚度不良分档 5 测厚不良 6 外观不良
|
m.Result = MyRes[i] = 5;
|
||||||
if (list[i].CCD19 != 1)
|
list[i].Remark += $",测厚度NG";
|
||||||
{
|
|
||||||
m.Result = MyRes[i] = 5;
|
|
||||||
list[i].Remark += $",测厚度NG";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//外观不良分档
|
|
||||||
m.Result = MyRes[i] = 6;
|
|
||||||
list[i].Remark += $",外观检NG不良";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//外观不良分档
|
||||||
|
m.Result = MyRes[i] = 6;
|
||||||
|
list[i].Remark += $",外观检NG不良";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (m.Flag == 1)
|
if (m.Flag == 1)
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ namespace JinYuan.Models
|
|||||||
/// 上传状态
|
/// 上传状态
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string UpState { get; set; }
|
public string UpState { get; set; }
|
||||||
|
public string RFID { get; set; }
|
||||||
|
public string ScanBarRes { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 反馈结果
|
/// 反馈结果
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -69,13 +71,7 @@ namespace JinYuan.Models
|
|||||||
public int CCD18 { get; set; }
|
public int CCD18 { get; set; }
|
||||||
public int CCD19 { get; set; }
|
public int CCD19 { get; set; }
|
||||||
public int CCD20 { get; set; }
|
public int CCD20 { get; set; }
|
||||||
public int CCD21 { get; set; }
|
|
||||||
public int CCD22 { get; set; }
|
|
||||||
public int CCD23 { get; set; }
|
|
||||||
public int CCD24 { get; set; }
|
|
||||||
public int CCD25 { get; set; }
|
|
||||||
public int CCD26 { get; set; }
|
|
||||||
public int CCD27 { get; set; }
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 电芯1_厚度数据1
|
/// 电芯1_厚度数据1
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -125,13 +121,7 @@ namespace JinYuan.Models
|
|||||||
public string CCDResult18 { get; set; }
|
public string CCDResult18 { get; set; }
|
||||||
public string CCDResult19 { get; set; }
|
public string CCDResult19 { get; set; }
|
||||||
public string CCDResult20 { get; set; }
|
public string CCDResult20 { get; set; }
|
||||||
public string CCDResult21 { get; set; }
|
|
||||||
public string CCDResult22 { get; set; }
|
|
||||||
public string CCDResult23 { get; set; }
|
|
||||||
public string CCDResult24 { get; set; }
|
|
||||||
public string CCDResult25 { get; set; }
|
|
||||||
public string CCDResult26 { get; set; }
|
|
||||||
public string CCDResult27 { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 芯包条码
|
/// 芯包条码
|
||||||
|
|||||||
Reference in New Issue
Block a user