From 6ddad5e82280f74961d907c8930c6b0fefbebdf0 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 30 十二月 2025 09:36:38 +0800
Subject: [PATCH] 2025.12.29 1. websocket添加心跳回复机制

---
 src/test/kotlin/com/flightfeather/uav/Test.kt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 2ca32f5..9da42dc 100644
--- a/src/test/kotlin/com/flightfeather/uav/Test.kt
+++ b/src/test/kotlin/com/flightfeather/uav/Test.kt
@@ -16,6 +16,7 @@
 import java.io.OutputStreamWriter
 import java.text.SimpleDateFormat
 import java.util.*
+import kotlin.math.round
 
 /**
  * @author riku
@@ -202,8 +203,8 @@
 
     @Test
     fun reGeo() {
-        val a = AMapService.reGeo(MapUtil.wgs84ToGcj02(121.45017 to 31.274426))
-        println(a)
+        val a = 0.7000000000000001
+        println(round(a * 100))
     }
 
     @Test

--
Gitblit v1.9.3