Ejemplo n.º 1
0
 public override void Dispose()
 {
     shuttleAP.OnEnter -= shuttleAP_OnEnter;
     trackRail.Car.OnPositionChanged -= Car_OnPositionChanged;
     ShuttleTasks.CollectionChanged  -= ShuttleTasks_CollectionChanged;
     shuttleAP.Dispose();
     shuttleConveyor.Dispose();
     trackRail.Dispose();
     base.Dispose();
 }
Ejemplo n.º 2
0
        public override void Dispose()
        {
            ElevatorTasks.CollectionChanged -= ElevatorTasks_CollectionChanged;
            lift.Car.OnPositionChanged      -= Car_PositionChanged;
            lift.Dispose();
            ElevatorTasks.Clear();
            Remove(ElevatorConveyor);
            ElevatorConveyor.Dispose();

            base.Dispose();
        }
Ejemplo n.º 3
0
 public override void Dispose()
 {
     shuttleAP.OnEnter               -= shuttleAP_OnEnter;
     enterPointDepth1.OnEnter        -= enterPointDepth1_OnEnter;
     exitPointDepth1.OnEnter         -= exitPointDepth1_OnEnter;
     exitPointDepth2.OnEnter         -= exitPointDepth2_OnEnter;
     trackRail.Car.OnPositionChanged -= Car_OnPositionChanged;
     ShuttleTasks.CollectionChanged  -= ShuttleTasks_CollectionChanged;
     shuttleAP.Dispose();
     enterPointDepth1.Dispose();
     enterPointDepth2.Dispose();
     exitPointDepth1.Dispose();
     exitPointDepth2.Dispose();
     shuttleConveyor.Dispose();
     trackRail.Dispose();
     base.Dispose();
 }