Browse Source

雷达方向

develop
王兴琳 4 months ago
parent
commit
195bb64bba
  1. 2
      zc-business/src/main/java/com/zc/business/enums/UniversalEnum.java
  2. 3
      zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java

2
zc-business/src/main/java/com/zc/business/enums/UniversalEnum.java

@ -2470,7 +2470,7 @@ RADAR_ASSOCIATED_MONITORING_POINT_QUERY_INTERFACE(0,"/api/radar/v1/selectRelateB
PULL_UP(4, "停车"),
// 非法停车
ILLEGAL_PARKING(4, "illegalParking"),
ILLEGAL_PARKING(4, "parallelParking"),
// 逆行
RETROGRADE_MOTION(5, "逆行"),

3
zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java

@ -163,7 +163,8 @@ public class DeviceMessageHandler {
return;
}
DcDevice dcDevice = dcDevices.get(UniversalEnum.ZERO.getNumber());
String direction = dcDevice.getDirection();
// String direction = dcDevice.getDirection();
String direction = jsonObject.getString("laneNo");
String stakeMark = dcDevice.getStakeMark();
Date happenTime = jsonObject.getDate("happenTime");
SimpleDateFormat sdf = new SimpleDateFormat(UniversalEnum.CHINESE_CHARACTER_TIME_FORMAT.getValue());

Loading…
Cancel
Save