diff --git a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs index aeb7e0e..cb66760 100644 --- a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs +++ b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs @@ -156,28 +156,29 @@ namespace Rs.MotionPlat.Flow EButtonType button =Msgbox.ShowTipDialog(EButtonType.Ok | EButtonType.Cancel, $"Please confim LOT info:{GlobalVar.LotName}\r\n ok click ok button \r\n error click Cancel button"); if(button== EButtonType.Ok) { + CreateCheckFixtureQueue(6); + List enableFixtureList = TestFixtureManager.Instance.GetEnableFixtureList(); + if (enableFixtureList.Count > 0) + { + int i = 0; + foreach (var fix in enableFixtureList) + { + if (i == 0) + fix.IsFirstFixture = true; + else + fix.IsFirstFixture = false; + i++; + } + } + button = Msgbox.ShowTipDialog(EButtonType.Ok | EButtonType.Cancel, "Are you sure clean data ?\r\n clean click OK\r\n no clean click Cancel"); if(button== EButtonType.Ok) { + logInfo = GetClassName() + "选择了OK"; + MessageQueue.Instance.Insert(logInfo); CleanDataEvent?.Invoke(); //lastFixtureIndex = TestFixtureManager.Instance.GetEnableFixtureList().Select(f => f.Index).Min() - 1; - CreateCheckFixtureQueue(6); - - if(checkFixtureList!=null && checkFixtureList.Count>0) - { - for(int i=0;i