Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<GlassSort.GlassSchedule> slist = new List<GlassSort.GlassSchedule>();
- foreach (string s in retFlr)
- {
- //Get all the schedules in a list
- foreach (GlassSort.GlassSchedule schedule in CreateSchedules(glassFile.GetFloorLine(s)))
- {
- slist.Add(schedule);
- }
- }
- //Now that we have them all in a list, we can loop through them all, to check items their floor line
- foreach(GlassSort.GlassSchedule schedule in slist)
- {
- foreach (GlassSort.GlassItem item in schedule.GetGlassItemList)
- {
- //Item logic here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement