cmove-测试
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-08-12 15:33:19 +08:00
parent 1bfe23f9ec
commit 3861e7642a
1 changed files with 48 additions and 39 deletions

View File

@ -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;