diff --git a/AIParkingApplication/LaneIn.cs b/AIParkingApplication/LaneIn.cs index b39bcf2..9fb8ab7 100644 --- a/AIParkingApplication/LaneIn.cs +++ b/AIParkingApplication/LaneIn.cs @@ -69,7 +69,7 @@ namespace AIParkingApplication if (cardInfoResult.Direction != "in") { - lblStatusInfo.UpdateLabel("THẺ ĐÃ ĐƯỢC SỬ DỤNG", Color.Red); + lblStatusInfo.UpdateLabel("XE ĐÃ Ở TRONG BÃI", Color.Red); return; } @@ -87,7 +87,7 @@ namespace AIParkingApplication var cardInformation = await apiController.GetCardInformation(cardNumber); ShowCardInfoOnUI(cardNumber, result.PlateString, cardInformation.CardType, DateTime.Now.ToString(AppConstant.DATETIME_FORMAT)); - var saveLogResult = await apiController.SaveLog(LaneDirection.In, cardInformation.CardRealID.ToString(), "1", result.PlateType, DateTime.Now.ToString(AppConstant.DATETIME_FORMAT), result.PlateString, result.PlateImage, result.PlateImage, result.PlateImage, overviewVideoFrame); + 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); if (saveLogResult.Status) { if (isAutoOpenDoor && this.doorId == doorId)