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

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

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