|
|
|
|
|
|
|
|
DroneDataVo droneDataVo = new DroneDataVo(); |
|
|
DroneDataVo droneDataVo = new DroneDataVo(); |
|
|
droneDataVo.setInspectionId(flightData.getInspectionId()); |
|
|
droneDataVo.setInspectionId(flightData.getInspectionId()); |
|
|
droneDataVo.setUavPower(79 + "%"); |
|
|
droneDataVo.setUavPower(79 + "%"); |
|
|
droneDataVo.setRange(""); |
|
|
|
|
|
|
|
|
droneDataVo.setRange(6 + "km"); |
|
|
double dist = Integer.valueOf(flightData.getDistHome())/1000d; |
|
|
double dist = Integer.valueOf(flightData.getDistHome())/1000d; |
|
|
droneDataVo.setTargetLocation(dist+ "km"); |
|
|
droneDataVo.setTargetLocation(dist+ "km"); |
|
|
droneDataVo.setYsingal(flightData.getYsingal() + "%"); |
|
|
droneDataVo.setYsingal(flightData.getYsingal() + "%"); |