[後端] 修改同步點位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();
await niagaraDataSynchronizeRepository.KeepTimeLog("ItemCheckFullNameEmptyReplaceByDeviceName", stopwatchSection.ElapsedMilliseconds);
stopwatchSection = new Stopwatch();
stopwatchSection.Start();
await niagaraDataSynchronizeRepository.CheckItemIsShowHistory();
stopwatchSection.Stop();
await niagaraDataSynchronizeRepository.KeepTimeLog("CheckItemIsShowHistory", stopwatchSection.ElapsedMilliseconds);
//stopwatchSection = new Stopwatch();
//stopwatchSection.Start();
//await niagaraDataSynchronizeRepository.CheckItemIsShowHistory();
//stopwatchSection.Stop();
//await niagaraDataSynchronizeRepository.KeepTimeLog("CheckItemIsShowHistory", stopwatchSection.ElapsedMilliseconds);
if (isFirstAsync)
isFirstAsync = false;