Ejemplo n.º 1
0
        public Vehicle(MpkObject mpkObject)
        {
            Name = mpkObject.Name.ToUpper();
            VehicleType = GetVehicleTypeFromString(mpkObject.Type);

            Position = new Position
            {
                Latitude = mpkObject.X,
                Longitude = mpkObject.Y,
            };
        }
Ejemplo n.º 2
0
        public Vehicle(MpkObject mpkObject)
        {
            Name        = mpkObject.Name.ToUpper();
            VehicleType = GetVehicleTypeFromString(mpkObject.Type);

            Position = new Position
            {
                Latitude  = mpkObject.X,
                Longitude = mpkObject.Y,
            };
        }