public int GetID(TransportUnit item)
        {
            /* Recommended ID's ranges:
             * 1     ..    9 : Aircrafts
             * 10    ..   99 : Trains, Locomotives, Passenger & Baggage Wagons
             * 100   ..  999 : Cars
             * 1000  .. 9999 : Mans - Drivers & Passengers
             * 10000 ..      : Baggages
             */
            int StartID = 0;

            if (item is AircraftUnit)
            {
                StartID = 1;
            }
            else if ((item is TrainUnit) || (item is LocomotiveUnit) || (item is PassengerWagonUnit) || (item is BaggageWagonUnit))
            {
                StartID = 10;
            }
            else if (item is CarUnit)
            {
                StartID = 100;
            }
            else if (item is ManUnit)
            {
                StartID = 1000;
            }
            else if (item is BaggageUnit)
            {
                StartID = 10000;
            }
            if (TUnits.Count > 0)
            {
                while (TUnits.Find(x => x.ID == StartID) != null)
                {
                    StartID++;
                }
            }
            return(StartID);
        }
 public bool Contains(TransportUnit item)
 {
     return(TUnits.Contains(item));
 }
 public void Add(TransportUnit item)
 {
     item.ID = GetID(item);
     TUnits.Add(item);
 }