列表展示
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2024-12-17 14:03:28 +08:00
parent 1c4d513f5b
commit 81443e5e36
3 changed files with 14 additions and 0 deletions

View File

@ -51,6 +51,10 @@ namespace IRaCIS.Core.Application.ViewModel
public List<string> ModalityList { get; set; }
public string Description { get; set; } = string.Empty;
public int MaxStudyCount { get; set; }
public int PacsSearchMaxDays { get; set; }
public PacsType PacsTypeEnum { get; set; }
}

View File

@ -2922,8 +2922,10 @@ namespace IRaCIS.Application.Services
var find = await _dicomAEReposiotry.FirstOrDefaultAsync(t => t.Id == inQuery.PacsDicomAEId);
if (find != null)
{
var maxStudyCount = find.MaxStudyCount > 0 ? find.MaxStudyCount : 50;
var client = DicomClientFactory.Create(find.IP, find.Port, false, "HIRSCUAE", find.CalledAE);
@ -2964,6 +2966,11 @@ namespace IRaCIS.Application.Services
StudyDescription = response.Dataset?.GetSingleValueOrDefault<string>(DicomTag.StudyDescription, ""),
StudyInstanceUID = response.Dataset?.GetSingleValueOrDefault<string>(DicomTag.StudyInstanceUID, "")
});
if (result.Count == maxStudyCount)
{
}
}
};

View File

@ -39,6 +39,9 @@ namespace IRaCIS.Core.Domain.Models
public int PacsSearchMaxDays { get; set; }
public int MaxStudyCount { get; set; }
}