Subversion Repositories SmartDukaan

Rev

Rev 30490 | Rev 30529 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30490 Rev 30498
Line 418... Line 418...
418
			double lat1 = 28.516045882182738;
418
			double lat1 = 28.516045882182738;
419
			double lng1 = 77.3771954997187;
419
			double lng1 = 77.3771954997187;
420
 
420
 
421
			double lat2 = coords.getDouble(1);
421
			double lat2 = coords.getDouble(1);
422
			double lng2 = coords.getDouble(0);
422
			double lng2 = coords.getDouble(0);
423
			// dist = distance(Float.valueOf(fs.getLatitude()),
-
 
424
			// Float.valueOf(fs.getLongitude()), lat2, lng2, "m");
423
			dist = distance(Float.valueOf(fs.getLatitude()), Float.valueOf(fs.getLongitude()), lat2, lng2, "m");
425
 
424
 
426
			dist = distance(lat1, lng1, lat2, lng2, "m");
425
			// dist = distance(lat1, lng1, lat2, lng2, "m");
427
			LOGGER.info("jsonObj" + jsonObj);
426
			LOGGER.info("jsonObj" + jsonObj);
428
			JSONObject deviceData = deviceStatus.getJSONObject("data");
427
			JSONObject deviceData = deviceStatus.getJSONObject("data");
429
			LOGGER.info("status1" + status);
428
			LOGGER.info("status1" + status);
430
 
429
 
431
		}
430
		}