|
@@ -238,6 +238,9 @@ public class TGdbhGdServiceImpl implements ITGdbhGdService {
|
|
|
if (i > 0 && i + 1 < len) {
|
|
|
TGdbhFlightDto dto_hou = flightDtoList.get(i + 1);
|
|
|
Double dr_hou = Double.valueOf(tGdbhFlightMapper.stAzimuth(dto.getLongitude(), dto.getLatitude(), dto_hou.getLongitude(), dto_hou.getLatitude()));
|
|
|
+ if (Math.abs(Double.parseDouble(writeheading) - dr_hou) > 10) {
|
|
|
+ writeheading = dr_hou.toString();
|
|
|
+ }
|
|
|
Double dr_hou4 = dr_hou;
|
|
|
if (i + 5 <= len) {
|
|
|
TGdbhFlightDto dto_hou2 = flightDtoList.get(i + 2);
|