Пример #1
0
 private void ChangedFlight(string oldFlight, string newFlight)
 {
     algo.ChangeFlight(oldFlight, newFlight);
     shelf1.ChangeFlight(oldFlight, newFlight);
     shelf2.ChangeFlight(oldFlight, newFlight);
     station.ChangeFlight(oldFlight, newFlight);
     if (!inputStackerLeft.IsEmpty)
     {
         inputStackerLeft.ChangeFlight(oldFlight, newFlight);
     }
     if (!inputStackerRight.IsEmpty)
     {
         inputStackerRight.ChangeFlight(oldFlight, newFlight);
     }
     if (!outputStackerLeft.IsEmpty)
     {
         outputStackerLeft.ChangeFlight(oldFlight, newFlight);
     }
     if (!outputStackerRight.IsEmpty)
     {
         outputStackerRight.ChangeFlight(oldFlight, newFlight);
     }
     if (!middleStacker.IsEmpty)
     {
         middleStacker.ChangeFlight(oldFlight, newFlight);
     }
 }