Browse Source

Merge remote-tracking branch 'origin/develop' into develop

tags/v1.2.0^2
xiaoying 1 year ago
parent
commit
a58c216813
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetDroneDataByIdService.java
  2. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/airport/GetDroneDataByIdService.java View File

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() + "%");

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml View File

#飞手平台地址 #飞手平台地址
pilot-url: http://192.168.11.11:7011/pilot/web/ pilot-url: http://192.168.11.11:7011/pilot/web/
#airport配置地址 #airport配置地址
airport-url: http://192.168.11.22:9060
#airport-url: http://192.168.11.22:9060
airport-url: https://airport-test.t-aaron.com
# 文件配置 # 文件配置
uploads: uploads:
#上传的服务器上的映射文件夹 #上传的服务器上的映射文件夹

Loading…
Cancel
Save