LaneIn, LaneOut - Refactor abit

This commit is contained in:
DucDangAnh 2020-07-01 16:30:47 +07:00
parent 005095401f
commit 9573166217
2 changed files with 6 additions and 4 deletions

View File

@ -85,9 +85,11 @@ namespace AIParkingApplication
pictureBoxOverviewImage.UpdateImage(overviewVideoFrame.ToBitmap());
var cardInformation = await apiController.GetCardInformation(cardNumber);
ShowCardInfoOnUI(cardNumber, result.PlateString, cardInformation.CardType, DateTime.Now.GetTimeFormatted());
var saveLogResult = await apiController.SaveLog(LaneDirection.In, cardInformation.CardRealID.ToString(), "1", result.PlateType, DateTime.Now.GetTimeFormatted(), result.PlateString, result.PlateImage, result.PlateImage, result.PlateImage, overviewVideoFrame);
ShowCardInfoOnUI(cardNumber, result.PlateString, cardInformation.CardType, DateTime.Now.GetTimeFormatted());
if (saveLogResult.Status)
{
if (isAutoOpenDoor && this.doorId == doorId)

View File

@ -1,10 +1,10 @@
using OpenCvSharp;
using OpenCvSharp.Extensions;
using System;
using System;
using System.Drawing;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using OpenCvSharp;
using OpenCvSharp.Extensions;
namespace AIParkingApplication
{