Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.63 KB | None | 0 0
  1.             List<GlassSort.GlassSchedule> slist = new List<GlassSort.GlassSchedule>();
  2.                     foreach (string s in retFlr)
  3.                     {
  4.             //Get all the schedules in a list
  5.             foreach (GlassSort.GlassSchedule schedule in CreateSchedules(glassFile.GetFloorLine(s)))
  6.             {
  7.                 slist.Add(schedule);
  8.             }
  9.                     }
  10.             //Now that we have them all in a list, we can loop through them all, to check items their floor line
  11.             foreach(GlassSort.GlassSchedule schedule in slist)
  12.             {
  13.             foreach (GlassSort.GlassItem item in schedule.GetGlassItemList)
  14.             {
  15.                 //Item logic here  
  16.             }
  17.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement