1
This commit is contained in:
@@ -77,9 +77,12 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
#region 定时
|
||||
//_eventPublisher = App.GetRequiredService<IEventPublisher>();
|
||||
CancellationTokenSource kittingOutAddCts = new();
|
||||
CancellationTokenSource kittingOutShippedCts = new();
|
||||
CancellationTokenSource setSortingCts = new();
|
||||
//List<string> toUserIds = new List<string>() { "25398501929509" };
|
||||
////生成任务执行
|
||||
//CancellationTokenSource genTaskCTS = new();
|
||||
//CancellationTokenSource kittingOutAddCts = new();
|
||||
//CancellationTokenSource kittingOutShippedCts = new();
|
||||
//CancellationTokenSource setSortingCts = new();
|
||||
|
||||
//var wareHouseService = App.GetRequiredService<IWareHouseService>();
|
||||
//TimedTask(cts => wareHouseService.GenTaskExecute(cts), genTaskCTS);
|
||||
@@ -119,8 +122,7 @@ namespace Tnb.WarehouseMgr
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
await GetDelayTask(timeType, interval);
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
}, token);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user