예제 #1
0
        public ShipmentItem(LogisticRequester requester, LogisticManager sender)
        {
            this.requester = requester;
            this.sender    = sender;

            this.reqAmount        = requester.activeRequestCount;
            this.urgencyThreshold = requester.urgencyThreshold;
        }
예제 #2
0
        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();
        }