修改出站数据字段
This commit is contained in:
@@ -1696,22 +1696,22 @@ namespace JinYuan.ControlCenters
|
||||
|
||||
list[i].PlcResult = MyRes[i];
|
||||
#region 排出 5 厚度NG电芯 6 外观NG电芯,
|
||||
if (list[i].PlcResult != 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不良";
|
||||
}
|
||||
//if (list[i].PlcResult != 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不良";
|
||||
// }
|
||||
|
||||
}
|
||||
//}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -1218,7 +1218,7 @@ namespace JinYuan.MES
|
||||
string strFileName = System.Environment.CurrentDirectory + "\\采集项目表.csv";
|
||||
|
||||
FileStream fileStream = new FileStream(strFileName, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
StreamReader streamReader = new StreamReader(fileStream);
|
||||
StreamReader streamReader = new StreamReader(fileStream, Encoding.UTF8);
|
||||
_ = streamReader.ReadLine();
|
||||
while (!streamReader.EndOfStream)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user