fix bug of data

This commit is contained in:
zhongchao
2021-04-28 17:47:06 +08:00
parent e995b2f9d0
commit 051f7745dc
2 changed files with 18 additions and 18 deletions

View File

@@ -10,12 +10,12 @@ public class Camera {
/**
* 纬度
*/
private double lat;
private String lat;
/**
* 经度
*/
private double lon;
private String lon;
/**
* 直播Url
@@ -27,7 +27,7 @@ public class Camera {
*/
private String state;
public Camera(int id, double lat, double lon, String rtmpUrl, String state) {
public Camera(int id, String lat, String lon, String rtmpUrl, String state) {
this.id = id;
this.lat = lat;
this.lon = lon;
@@ -43,19 +43,19 @@ public class Camera {
this.id = id;
}
public double getLat() {
public String getLat() {
return lat;
}
public void setLat(double lat) {
public void setLat(String lat) {
this.lat = lat;
}
public double getLon() {
public String getLon() {
return lon;
}
public void setLon(double lon) {
public void setLon(String lon) {
this.lon = lon;
}
@@ -79,8 +79,8 @@ public class Camera {
public String toString() {
return "Camera{" +
"id=" + id +
", lat=" + lat +
", lon=" + lon +
", lat='" + lat + '\'' +
", lon='" + lon + '\'' +
", rtmpUrl='" + rtmpUrl + '\'' +
", state='" + state + '\'' +
'}';

View File

@@ -30,20 +30,20 @@ PASSWORD=xintai2018
RELEASE=true
# AI CLOUD 云平台
# 工具类
MOGO_UTILS_VERSION=1.0.80
MOGO_UTILS_VERSION=1.0.81
# 网络请求
MOGO_NETWORK_VERSION=1.0.80
MOGO_NETWORK_VERSION=1.0.81
# 网络DNS
MOGO_HTTPDNS_VERSION=1.0.80
MOGO_HTTPDNS_VERSION=1.0.81
# 鉴权
MOGO_PASSPORT_VERSION=1.0.80
MOGO_PASSPORT_VERSION=1.0.81
# 常链接
MOGO_SOCKET_VERSION=1.0.80
MOGO_SOCKET_VERSION=1.0.81
# 数据采集
MOGO_REALTIME_VERSION=1.0.80
MOGO_REALTIME_VERSION=1.0.81
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.0.80
MOGO_TANLU_VERSION=1.0.81
# 直播推流
MOGO_LIVE_VERSION=1.0.80
MOGO_LIVE_VERSION=1.0.81
# 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.0.80
MOGO_TRAFFICLIVE_VERSION=1.0.81