修复根据fromindex获取周转任务的bug

master
lhiven 1 year ago
parent 777accbde9
commit 08c591d0dc

@ -343,7 +343,7 @@ namespace Rs.MotionPlat.Flow
/// <returns></returns> /// <returns></returns>
public TurnoverInfo GetTestUnloadTask(int fromIndex) public TurnoverInfo GetTestUnloadTask(int fromIndex)
{ {
return testUnloadTaskList.Where(t => t.FromIndex == fromIndex).First(); return testUnloadTaskList.Where(t => t.FromIndex == fromIndex-1).First();
} }
/// <summary> /// <summary>

Loading…
Cancel
Save