public ShipmentItem(LogisticRequester requester, LogisticManager sender) { this.requester = requester; this.sender = sender; this.reqAmount = requester.activeRequestCount; this.urgencyThreshold = requester.urgencyThreshold; }
public Shipment(LogisticManager destination, LogisticManager sender, LogisticChannel channel) { this.destination = destination; this.sender = sender; this.channel = channel; this.Status = ShipmentStatus.InCreation; this.id = sender.GetUniqueLoadID() + "_shipment" + sender.GetNextShipmentID(); }