From 4a7bf544cea473f04731c88dfb63f3783488358f Mon Sep 17 00:00:00 2001 From: liuwf Date: Wed, 10 Jul 2024 16:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Business/LogoBusiness.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/SlnMesnac.Business/LogoBusiness.cs b/SlnMesnac.Business/LogoBusiness.cs index 9a0761a..4927c62 100644 --- a/SlnMesnac.Business/LogoBusiness.cs +++ b/SlnMesnac.Business/LogoBusiness.cs @@ -119,10 +119,10 @@ namespace SlnMesnac.Business byte[] compressedImageData = null; try { - #region 初始操作:复位海康上次结果,删除海康上次保存文件 - HikCameraResult = false; - FileHelper.DeleteAllPictures(config.CameraFilePath); - #endregion + //#region 初始操作:复位海康上次结果,删除海康上次保存文件 + //HikCameraResult = false; + //FileHelper.DeleteAllPictures(config.CameraFilePath); + //#endregion bool judge = FoamtJudge(materialCodeStr); if (!judge) @@ -239,6 +239,10 @@ namespace SlnMesnac.Business finally { lightHelper.SendData("CLOSE"); + #region 复位海康上次结果,删除海康上次保存文件 + HikCameraResult = false; + FileHelper.DeleteAllPictures(config.CameraFilePath); + #endregion } }