diff --git a/zc-business/src/main/java/com/zc/business/enums/UniversalEnum.java b/zc-business/src/main/java/com/zc/business/enums/UniversalEnum.java index ac1d7ea6..7d34045f 100644 --- a/zc-business/src/main/java/com/zc/business/enums/UniversalEnum.java +++ b/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, "逆行"), diff --git a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java index 8a95802d..7d5b69c1 100644 --- a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java +++ b/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());