bugfix: 无人机状态上报使用机场sn

优化:无人机状态上报调整到项目启动5分钟之后
feature-flyModify
陈伟 2025-09-09 10:32:08 +08:00
parent 01638fe105
commit 31aac91517
2 changed files with 2 additions and 2 deletions

View File

@ -822,7 +822,7 @@ namespace OpenAuth.App.ServiceApp.DroneDocking
public async Task<Response<bool>> ReportDroneStatus()
{
var droneList = await Repository
.ChangeRepository<SugarRepositiry<LasaUav>>()
.ChangeRepository<SugarRepositiry<LasaDronePort>>()
.AsQueryable()
.Where(it => it.IsDelete == false)
.ToListAsync();

View File

@ -23,7 +23,7 @@ public class DelayedExecutionService : BackgroundService
{
await PerformDelayedTask();
// 等待5秒
await Task.Delay(TimeSpan.FromSeconds(5), stoppingToken);
await Task.Delay(TimeSpan.FromMinutes(5), stoppingToken);
}
catch (OperationCanceledException)
{