From 1fa0e57df26dcbf9f7c936806b5f4f0744e1d543 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 15 十一月 2021 17:42:01 +0800 Subject: [PATCH] 1. 网格化数据查询添加秒级值和分钟值的选择 --- src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt b/src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt index e16d1f2..6b4b939 100644 --- a/src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt +++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/BaseRealTimeData.kt @@ -262,6 +262,7 @@ val avgU = u / c val avgV = v / c var a = atan(avgU / avgV) + a = Math.toDegrees(a) /** * avgU>0;avgV>0: 鐪熷疄瑙掑害澶勪簬绗竴璞¢檺锛屼慨姝e�间负+0掳 * avgU>0;avgV<0: 鐪熷疄瑙掑害澶勪簬绗簩璞¢檺锛屼慨姝e�间负+180掳 -- Gitblit v1.9.3