From 10cb58391ab402d0e761a7c17f3740c081dc9042 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 04 七月 2022 01:08:26 +0800
Subject: [PATCH] 修复轨迹的储存与查询展示

---
 src/main/java/com/genersoft/iot/vmp/gb28181/bean/MobilePosition.java |   75 ++++++++++++++++++++++---------------
 1 files changed, 44 insertions(+), 31 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/MobilePosition.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/MobilePosition.java
index c6cf782..f9c20e5 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/MobilePosition.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/MobilePosition.java
@@ -58,19 +58,24 @@
     private String reportSource;
 
     /**
-     * 鍥藉唴鍦扮悊鍧愭爣绯伙紙GCJ-02 / BD-09锛�
-     */
-    private String GeodeticSystem;
-
-    /**
      * 鍥藉唴鍧愭爣绯伙細缁忓害鍧愭爣
      */
-    private String cnLng;
+    private double longitudeGcj02;
 
     /**
      * 鍥藉唴鍧愭爣绯伙細绾害鍧愭爣
      */
-    private String cnLat;
+    private double latitudeGcj02;
+
+    /**
+     * 鍥藉唴鍧愭爣绯伙細缁忓害鍧愭爣
+     */
+    private double longitudeWgs84;
+
+    /**
+     * 鍥藉唴鍧愭爣绯伙細绾害鍧愭爣
+     */
+    private double latitudeWgs84;
 
 
     public String getDeviceId() {
@@ -145,30 +150,6 @@
         this.reportSource = reportSource;
     }
 
-    public String getGeodeticSystem() {
-        return GeodeticSystem;
-    }
-
-    public void setGeodeticSystem(String geodeticSystem) {
-        GeodeticSystem = geodeticSystem;
-    }
-
-    public String getCnLng() {
-        return cnLng;
-    }
-
-    public void setCnLng(String cnLng) {
-        this.cnLng = cnLng;
-    }
-
-    public String getCnLat() {
-        return cnLat;
-    }
-
-    public void setCnLat(String cnLat) {
-        this.cnLat = cnLat;
-    }
-
     public String getChannelId() {
         return channelId;
     }
@@ -176,4 +157,36 @@
     public void setChannelId(String channelId) {
         this.channelId = channelId;
     }
+
+    public double getLongitudeGcj02() {
+        return longitudeGcj02;
+    }
+
+    public void setLongitudeGcj02(double longitudeGcj02) {
+        this.longitudeGcj02 = longitudeGcj02;
+    }
+
+    public double getLatitudeGcj02() {
+        return latitudeGcj02;
+    }
+
+    public void setLatitudeGcj02(double latitudeGcj02) {
+        this.latitudeGcj02 = latitudeGcj02;
+    }
+
+    public double getLongitudeWgs84() {
+        return longitudeWgs84;
+    }
+
+    public void setLongitudeWgs84(double longitudeWgs84) {
+        this.longitudeWgs84 = longitudeWgs84;
+    }
+
+    public double getLatitudeWgs84() {
+        return latitudeWgs84;
+    }
+
+    public void setLatitudeWgs84(double latitudeWgs84) {
+        this.latitudeWgs84 = latitudeWgs84;
+    }
 }

--
Gitblit v1.8.0