电子围栏,车辆实时位置接收
This commit is contained in:
@ -2,6 +2,7 @@ package com.ruoyi.api;
|
||||
|
||||
import com.ruoyi.operation.domain.DeviceLocation;
|
||||
import com.ruoyi.operation.service.IZcElectronicFenceService;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
|
||||
@ -47,7 +47,7 @@ public class DeviceLocation {
|
||||
private String hallStatus;
|
||||
|
||||
// 纬度
|
||||
@JsonProperty("lat")
|
||||
@JsonProperty("latitude")
|
||||
private Double latitude;
|
||||
|
||||
// 设备工作状态
|
||||
@ -71,7 +71,7 @@ public class DeviceLocation {
|
||||
private String clientId;
|
||||
|
||||
// 经度
|
||||
@JsonProperty("lng")
|
||||
@JsonProperty("longitude")
|
||||
private Double longitude;
|
||||
|
||||
// 报警信息
|
||||
|
||||
Reference in New Issue
Block a user