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); }
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); } }