mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-11 18:59:51 +08:00
update
This commit is contained in:
@@ -72,7 +72,12 @@ public class CameraService {
|
|||||||
*/
|
*/
|
||||||
public void receiveIdentifyResults(JSONObject jsonObject) throws InterruptedException {
|
public void receiveIdentifyResults(JSONObject jsonObject) throws InterruptedException {
|
||||||
// 区分入场和出场
|
// 区分入场和出场
|
||||||
Integer parking_state = jsonObject.getJSONObject("parking").getInteger("parking_state");
|
Integer parking_state = 0;
|
||||||
|
try {
|
||||||
|
parking_state = jsonObject.getJSONObject("parking").getInteger("parking_state");
|
||||||
|
}catch (Exception e) {
|
||||||
|
logger.info("相机发送系统 alarmInfo:{}", jsonObject.toJSONString());
|
||||||
|
}
|
||||||
if (parking_state == Constants.one) {
|
if (parking_state == Constants.one) {
|
||||||
// 入场
|
// 入场
|
||||||
String parkingState = "ENTRY";
|
String parkingState = "ENTRY";
|
||||||
|
|||||||
Reference in New Issue
Block a user