예제 #1
0
        internal void OnLoadDestinationArrivedEvent(SorterCarrier carrier, SorterElementFixPoint destination, Load load, bool discharged)
        {
            if (LoadArrivedAtDestination != null)
            {
                LoadArrivedAtDestination(parent.Control, carrier, destination, load, discharged);
            }

            destination.Arriving(carrier, load);
        }
예제 #2
0
        internal void OnCarrierArrivedEvent(SorterCarrier carrier, SorterElementFixPoint f)
        {
            if (CarrierArrived != null)
            {
                CarrierArrived(parent.Control, carrier, f);
            }

            if (f.InductionPoint != null && f.InductionPoint.ActiveLoad != null && f.InductionPoint.ActiveLoad.Stopped)
            {
                f.Arriving(carrier, f.InductionPoint.ActiveLoad);
            }
        }