mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -72,7 +72,12 @@ public class CameraService {
|
||||
*/
|
||||
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) {
|
||||
// 入场
|
||||
String parkingState = "ENTRY";
|
||||
|
||||
Reference in New Issue
Block a user