Exemplo n.º 1
0
        public void Remove()
        {
            manager.RemoveInterface(this);

            channel.interfaces.Remove(this);
            channel = null;
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 protected LogisticInterface(LogisticChannel channel)
 {
     this.channel = channel;
     this.channel.interfaces.Add(this);
 }