CCD结果为20项

This commit is contained in:
liming 蔡
2026-08-12 14:32:27 +08:00
parent ca8fec1e3b
commit 140c22a857
8 changed files with 244 additions and 435 deletions
+26 -19
View File
@@ -20,7 +20,7 @@ namespace JinYuan.Models
public short[,] list_pan = new short[3, 1];//物流线托盘码
//
public int[,] CCD_Data = new int[3, 27];//芯包CCD信息1,2,3
public int[,] CCD_Data = new int[3, ConstValue.COUNT_CCD];//芯包CCD信息1,2,3
public string[,] CCD_NgNo = new string[3, 27];//芯包不良编码信息1,2,3
// public float[,] Thickness_Data = new float[3, 3];//电芯3_厚度数据信息1,2,3
// public int[,] Thickness_PLCData = new int[3, 3];//电芯3_厚度数据OKNG1,2,3 与ccd一样 1 OK,0 NG,2 缺图
@@ -71,13 +71,17 @@ namespace JinYuan.Models
public int CCD18 { get; set; }
public int CCD19 { 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; }
#region 未使用CCD值 by clm 20260812
//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; }
#endregion
public string CCD1NgCode { get; set; }
public string CCD2NgCode { get; set; }
public string CCD3NgCode { get; set; }
@@ -112,7 +116,7 @@ namespace JinYuan.Models
/// <summary>
/// 电芯1_厚度数据1
/// </summary>
public float Thickness1 { get; set; }
//public float Thickness1 { get; set; }
// public float Thickness2 { get; set; }
// public float Thickness3 { get; set; }
/// <summary>
@@ -124,17 +128,17 @@ namespace JinYuan.Models
/// <summary>
/// 电芯1_厚度OKNG 显示OK NG
/// </summary>
public string ThicknessResult1 { get; set; }
//public string ThicknessResult1 { get; set; }
// public string ThicknessResult2 { get; set; }
// public string ThicknessResult3 { get; set; }
/// <summary>
/// 平面度设定值
/// </summary>
public string flatness_setpoint { get; set; }
//public string flatness_setpoint { get; set; }
/// <summary>
/// 平面度实际值
/// </summary>
public string flatness_actual { get; set; }
//public string flatness_actual { get; set; }
/// <summary>
/// 电芯_CCD1结果 1 OK,0 NG,2 缺图
/// </summary>
@@ -158,13 +162,16 @@ namespace JinYuan.Models
public string CCDResult18 { get; set; }
public string CCDResult19 { 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; }
#region 未使用CCD结果 by clm 20260812
//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; }
#endregion
/// <summary>
/// 芯包条码
+42
View File
@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JinYuan.Models
{
public class ConstValue
{
/// <summary>
/// CCD采集项数
/// </summary>
public const int COUNT_CCD = 20;
/// <summary>
/// CCD采集项名称列表
/// </summary>
public static string[] CCDNameArr = new string[20] {
"正面(2D/3D)",
"反面(2D/3D)",
"左侧面(2D/3D)",
"右侧面(2D/3D)",
"顶面(2D/3D)",
"底面(2D/3D)",
"底DE1",
"底DE2",
"底DE3",
"底DE4",
"中ME1",
"中ME2",
"中ME3",
"中ME4",
"正极柱(POS)",
"负极柱(NEG)",
"防爆阀(PRO)",
"二维码检测结果",
"厚度结果",
"平面度结果"
};
}
}
+1
View File
@@ -80,6 +80,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ConstValue.cs" />
<Compile Include="NgCodeEntity.cs" />
<Compile Include="AlarmCountEntry.cs" />
<Compile Include="AlarmForm.cs" />