master
liuwf 4 months ago
parent c7241e6f5e
commit 4a7bf544ce

@ -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
}
}

Loading…
Cancel
Save