From 154209ef43eec0d95ed31c9d3574b03553b62ba5 Mon Sep 17 00:00:00 2001 From: lhiven Date: Sun, 21 Jan 2024 15:40:41 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93=E6=97=A0=E9=9C=80?= =?UTF-8?q?=E9=87=8D=E6=8E=92=E7=9A=84=E6=97=B6=E5=80=99=E7=A9=BA=E5=BC=95?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/Flow/TestCenter.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rs.SkyLine/Flow/TestCenter.cs b/Rs.SkyLine/Flow/TestCenter.cs index 628727e..53046cc 100644 --- a/Rs.SkyLine/Flow/TestCenter.cs +++ b/Rs.SkyLine/Flow/TestCenter.cs @@ -275,7 +275,7 @@ namespace Rs.MotionPlat.Flow if (info.SiloType == SchedulingSiloBase.ESiloType.Multifunction) { TraySlot ts = GlobalTray.MultiTray.GetSlot(Controls.ESlotStatus.NotHave); - if (ts.Column == 0)//无需重排 + if (ts == null || ts.Column == 0)//无需重排 { TurnoverInfos tis = new TurnoverInfos(); tis.GroupID = 0; @@ -293,7 +293,7 @@ namespace Rs.MotionPlat.Flow else if (info.SiloType == SchedulingSiloBase.ESiloType.Passed) { TraySlot ts = GlobalTray.OkTary.GetSlot(Controls.ESlotStatus.NotHave); - if (ts.Column==0)//无需重排 + if (ts==null || ts.Column==0)//无需重排 { TurnoverInfos tis = new TurnoverInfos(); tis.GroupID = 0; @@ -311,7 +311,7 @@ namespace Rs.MotionPlat.Flow else if (info.SiloType == SchedulingSiloBase.ESiloType.Failed) { TraySlot ts = GlobalTray.NgTray.GetSlot(ESlotStatus.NotHave); - if (ts.Column == 0) + if (ts == null || ts.Column == 0) { TurnoverInfos tis = new TurnoverInfos(); tis.GroupID = 0;