From ee41ffd858a7df552f87f6704cc9083e5518a38e Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 20 六月 2023 17:36:44 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/entity/Report.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/yssh/entity/Report.java b/src/main/java/com/yssh/entity/Report.java
index a567a72..5649bfa 100644
--- a/src/main/java/com/yssh/entity/Report.java
+++ b/src/main/java/com/yssh/entity/Report.java
@@ -39,7 +39,7 @@
     @ApiModelProperty(value = "璺濈")
     private double dis;
 
-    @ApiModelProperty(value = "500m鑼冨洿鏈�澶у�肩殑鏂瑰悜")
+    @ApiModelProperty(value = "500m鑼冨洿鏈�澶у�肩殑椋庡悜")
     private String maxDir;
 
     @ApiModelProperty(value = "鏄惁涓�鑷�")
@@ -83,7 +83,7 @@
 
         double speed2 = CalculateUtils.getWindSpeed(suMax.getV(), suMax.getU());
         double direction2 = CalculateUtils.getWindDirection(suMax.getV(), suMax.getU());
-        String maxDir = CalculateUtils.getDir(angle);
+        String maxDir = CalculateUtils.getDir(direction2); // CalculateUtils.getDir(angle);
         int isSame = (Math.abs(direction1 - direction2) <= 45 && Math.abs(speed1 - speed2) <= 0.5) ? 1 : 0;
 
         return new Report(wd.getLocationName(), c1.getX(), c1.getY(), wd.getValue(), time,

--
Gitblit v1.9.3