LaneIn - C3Device_OnNewCardReceived check isAutoOpenDoor
This commit is contained in:
@@ -58,6 +58,10 @@ namespace AIParkingApplication
|
||||
private void C3Device_OnNewCardReceived(int doorId, string cardNumber)
|
||||
{
|
||||
CaptureAllCamera();
|
||||
if (isAutoOpenDoor)
|
||||
{
|
||||
c3Device.OpenDoor(doorId);
|
||||
}
|
||||
}
|
||||
|
||||
private void PlateCamera_OnOpenVideoStreamFailed(Mat videoFrame)
|
||||
@@ -168,7 +172,7 @@ namespace AIParkingApplication
|
||||
{
|
||||
lblCardTime.Text = $"Thời gian: {cardTime}";
|
||||
}));
|
||||
|
||||
|
||||
lblRecogizePlateStatus.Invoke(new Action(() =>
|
||||
{
|
||||
lblRecogizePlateStatus.Text = string.IsNullOrEmpty(plateString) ? "KHÔNG NHẬN DIỆN ĐƯỢC BIỂN SỐ" : $"MỜI XE {plateString} VÀO";
|
||||
|
||||
Reference in New Issue
Block a user