Exemplo n.º 1
0
        internal static void SynchronizeDisplayItems(LocationDisplayItem locationDisplayItem, LocationListerDisplayItem listerDisplayItem)
        {
            listerDisplayItem.ParkingLocationName      = locationDisplayItem.ParkingLocationName;
            listerDisplayItem.ParkingLocationLatitude  = locationDisplayItem.ParkingLocationLatitude;
            listerDisplayItem.ParkingLocationLongitude = locationDisplayItem.ParkingLocationLongitude;

            listerDisplayItem.ShootingLocationName      = locationDisplayItem.ShootingLocationName;
            listerDisplayItem.ShootingLocationLatitude  = locationDisplayItem.ShootingLocationLatitude;
            listerDisplayItem.ShootingLocationLongitude = locationDisplayItem.ShootingLocationLongitude;

            listerDisplayItem.Photo_1 = locationDisplayItem.Photo_1;
            listerDisplayItem.Photo_2 = locationDisplayItem.Photo_2;
            listerDisplayItem.Photo_3 = locationDisplayItem.Photo_3;
        }
Exemplo n.º 2
0
 internal static LocationListerDisplayItem ConvertToListerDisplayItem(LocationDisplayItem locationDisplayItem, ShootingLocation shootingLocation)
 {
     return(new LocationListerDisplayItem()
     {
         CountryName = locationDisplayItem.CountryName,
         AreaName = locationDisplayItem.AreaName,
         SubAreaName = locationDisplayItem.SubAreaName,
         SubjectLocationName = locationDisplayItem.SubjectLocationName,
         SubjectLocationLatitude = locationDisplayItem.SubjectLocationLatitude,
         SubjectLocationLongitude = locationDisplayItem.ShootingLocationLongitude,
         ShootingLocationName = locationDisplayItem.ShootingLocationName,
         ShootingLocationLatitude = locationDisplayItem.ShootingLocationLatitude,
         ShootingLocationLongitude = locationDisplayItem.ShootingLocationLongitude,
         Photo_1 = locationDisplayItem.Photo_1,
         Photo_2 = locationDisplayItem.Photo_2,
         Photo_3 = locationDisplayItem.Photo_3,
         ParkingLocationName = locationDisplayItem.ParkingLocationName,
         ParkingLocationLatitude = locationDisplayItem.ParkingLocationLatitude,
         ParkingLocationLongitude = locationDisplayItem.ParkingLocationLongitude,
         Tag = shootingLocation
     });
 }