Пример #1
0
        public Vehicle(MpkObject mpkObject)
        {
            Name = mpkObject.Name.ToUpper();
            VehicleType = GetVehicleTypeFromString(mpkObject.Type);

            Position = new Position
            {
                Latitude = mpkObject.X,
                Longitude = mpkObject.Y,
            };
        }
Пример #2
0
        public Vehicle(MpkObject mpkObject)
        {
            Name        = mpkObject.Name.ToUpper();
            VehicleType = GetVehicleTypeFromString(mpkObject.Type);

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