Exemple #1
0
 private void OutputStackerRight_OriginalPointReached(object sender, EventArgs e)
 {
     if (!outputStackerRight.IsEmpty)
     {
         if (outputStackerRight.Rearranging && middleStacker.ReadyForCollecting)
         {
             middleStacker.GrabBag(outputStackerRight.ReleaseBag());
             middleStacker.TargetPoint        = new Point(station.Location.X, station.Location.Y + station.Size.Height + 10);
             middleStacker.ReadyForCollecting = false;
             outputStackerRight.Rearranging   = false;
         }
         else
         {
             rightConveyor.Push(outputStackerRight.ReleaseBag());
         }
     }
 }
Exemple #2
0
 private void MiddleStacker_TargetPointReached(object sender, LogicLocationEventArgs e)
 {
     station.InsertBag(middleStacker.ReleaseBag());
     middleStacker.TargetPoint = Point.Empty;
 }