コード例 #1
0
ファイル: ShipmentItem.cs プロジェクト: JonM0/LogisticRim
        public ShipmentItem(LogisticRequester requester, LogisticManager sender)
        {
            this.requester = requester;
            this.sender    = sender;

            this.reqAmount        = requester.activeRequestCount;
            this.urgencyThreshold = requester.urgencyThreshold;
        }
コード例 #2
0
ファイル: Shipment.cs プロジェクト: JonM0/LogisticRim
        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();
        }