[後端] 修改同步點位is_history程序

This commit is contained in:
dev02 2024-03-15 14:31:34 +08:00
parent cf9ae64ca4
commit 540113668f

View File

@ -314,11 +314,11 @@ namespace Backend.Controllers
stopwatchSection.Stop(); stopwatchSection.Stop();
await niagaraDataSynchronizeRepository.KeepTimeLog("ItemCheckFullNameEmptyReplaceByDeviceName", stopwatchSection.ElapsedMilliseconds); await niagaraDataSynchronizeRepository.KeepTimeLog("ItemCheckFullNameEmptyReplaceByDeviceName", stopwatchSection.ElapsedMilliseconds);
stopwatchSection = new Stopwatch(); //stopwatchSection = new Stopwatch();
stopwatchSection.Start(); //stopwatchSection.Start();
await niagaraDataSynchronizeRepository.CheckItemIsShowHistory(); //await niagaraDataSynchronizeRepository.CheckItemIsShowHistory();
stopwatchSection.Stop(); //stopwatchSection.Stop();
await niagaraDataSynchronizeRepository.KeepTimeLog("CheckItemIsShowHistory", stopwatchSection.ElapsedMilliseconds); //await niagaraDataSynchronizeRepository.KeepTimeLog("CheckItemIsShowHistory", stopwatchSection.ElapsedMilliseconds);
if (isFirstAsync) if (isFirstAsync)
isFirstAsync = false; isFirstAsync = false;