master
liuwf 4 months ago
parent c7241e6f5e
commit 4a7bf544ce

@ -119,10 +119,10 @@ namespace SlnMesnac.Business
byte[] compressedImageData = null; byte[] compressedImageData = null;
try try
{ {
#region 初始操作:复位海康上次结果,删除海康上次保存文件 //#region 初始操作:复位海康上次结果,删除海康上次保存文件
HikCameraResult = false; //HikCameraResult = false;
FileHelper.DeleteAllPictures(config.CameraFilePath); //FileHelper.DeleteAllPictures(config.CameraFilePath);
#endregion //#endregion
bool judge = FoamtJudge(materialCodeStr); bool judge = FoamtJudge(materialCodeStr);
if (!judge) if (!judge)
@ -239,6 +239,10 @@ namespace SlnMesnac.Business
finally finally
{ {
lightHelper.SendData("CLOSE"); lightHelper.SendData("CLOSE");
#region 复位海康上次结果,删除海康上次保存文件
HikCameraResult = false;
FileHelper.DeleteAllPictures(config.CameraFilePath);
#endregion
} }
} }

Loading…
Cancel
Save