|
|
@ -292,7 +292,7 @@ public class GateUnavailableDialog { |
|
|
|
LogManager.logInfo(TAG, "更新离场人数异常弹窗内容,门内人数: " + peopleCount); |
|
|
|
} else { |
|
|
|
// 进场场景:检测到门内人数大于1 |
|
|
|
message = "AB门进场:检测到门内有 " + peopleCount + " 人\n请一次一人进场,确保门禁内只有一人时操作"; |
|
|
|
message = "AB门进场:检测到门内有 " + peopleCount + " 人\n请从A门离场后重新进入,确保门禁内只有一人时进行识别"; |
|
|
|
LogManager.logInfo(TAG, "更新进场人数异常弹窗内容,门内人数: " + peopleCount); |
|
|
|
} |
|
|
|
|
|
|
@ -514,7 +514,7 @@ public class GateUnavailableDialog { |
|
|
|
|
|
|
|
LogManager.logInfo(TAG, "UDP轮询检查结果 - 门状态: " + (gatesAllClosed ? "AB门均关闭" : "有门开启") + ", 人数: " + peopleNum); |
|
|
|
|
|
|
|
if (gatesAllClosed && peopleNum == 1) { |
|
|
|
if (gatesAllClosed && peopleNum <2) { |
|
|
|
consecutiveSuccessCount++; |
|
|
|
LogManager.logInfo(TAG, "满足条件的连续次数: " + consecutiveSuccessCount + "/" + REQUIRED_SUCCESS_COUNT); |
|
|
|
|
|
|
|