From d97b9026821985ca2522a91541aa798dbe4428fb Mon Sep 17 00:00:00 2001 From: ldw <11622064+ldw888@user.noreply.gitee.com> Date: Mon, 15 Sep 2025 09:10:59 +0800 Subject: [PATCH] =?UTF-8?q?ng=E7=BC=96=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JinYuan.ControlCenter/ControlCenter_Plc.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JinYuan.ControlCenter/ControlCenter_Plc.cs b/JinYuan.ControlCenter/ControlCenter_Plc.cs index 15f92a0..107438d 100644 --- a/JinYuan.ControlCenter/ControlCenter_Plc.cs +++ b/JinYuan.ControlCenter/ControlCenter_Plc.cs @@ -1819,7 +1819,7 @@ namespace JinYuan.ControlCenters { m.Thickness_PLCData[i, j] = ShortLib.GetShortFromByteArray(bArrays.Content, 500 + i * 30 * 2 + j * 2, DataFormat.CDAB); } - //不良ng编号 + //不良ng编号4300 for (int j = 0; j < 16; j++) { m.CCD_NgNo[i, j] = ShortLib.GetShortFromByteArray(bArrays.Content, 2200 + i * 30 * 2 + j * 2, DataFormat.CDAB); @@ -2280,7 +2280,7 @@ namespace JinYuan.ControlCenters List NGcodelist = new List(); List NGmessagelist = new List(); - for (int i = 0; i < 27; i++) + for (int i = 0; i < 16; i++) { if (lstResult[index, i] != 0) {