cmove-测试
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1bfe23f9ec
commit
3861e7642a
|
@ -3384,6 +3384,8 @@ namespace IRaCIS.Application.Services
|
|||
.GroupBy(t => t.StudyInstanceUid).Select(g => g.OrderByDescending(t => t.CreateTime).FirstOrDefault()).ToListAsync();
|
||||
|
||||
var task = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
{
|
||||
var client = DicomClientFactory.Create(find.IP, find.Port, false, hirClient.CalledAE, find.CalledAE);
|
||||
client.NegotiateAsyncOps();
|
||||
|
@ -3430,6 +3432,13 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
await client.AddRequestsAsync(cmoveRequestList);
|
||||
await client.SendAsync();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
_logger.LogError($"cmove error:{ex.Message}");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//await task;
|
||||
|
|
Loading…
Reference in New Issue