列表展示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1c4d513f5b
commit
81443e5e36
|
@ -51,6 +51,10 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||||
public List<string> ModalityList { get; set; }
|
public List<string> ModalityList { get; set; }
|
||||||
public string Description { get; set; } = string.Empty;
|
public string Description { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public int MaxStudyCount { get; set; }
|
||||||
|
|
||||||
|
public int PacsSearchMaxDays { get; set; }
|
||||||
|
|
||||||
public PacsType PacsTypeEnum { get; set; }
|
public PacsType PacsTypeEnum { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2922,8 +2922,10 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
var find = await _dicomAEReposiotry.FirstOrDefaultAsync(t => t.Id == inQuery.PacsDicomAEId);
|
var find = await _dicomAEReposiotry.FirstOrDefaultAsync(t => t.Id == inQuery.PacsDicomAEId);
|
||||||
|
|
||||||
|
|
||||||
if (find != null)
|
if (find != null)
|
||||||
{
|
{
|
||||||
|
var maxStudyCount = find.MaxStudyCount > 0 ? find.MaxStudyCount : 50;
|
||||||
|
|
||||||
var client = DicomClientFactory.Create(find.IP, find.Port, false, "HIRSCUAE", find.CalledAE);
|
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, ""),
|
StudyDescription = response.Dataset?.GetSingleValueOrDefault<string>(DicomTag.StudyDescription, ""),
|
||||||
StudyInstanceUID = response.Dataset?.GetSingleValueOrDefault<string>(DicomTag.StudyInstanceUID, "")
|
StudyInstanceUID = response.Dataset?.GetSingleValueOrDefault<string>(DicomTag.StudyInstanceUID, "")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (result.Count == maxStudyCount)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,6 +39,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
public int PacsSearchMaxDays { get; set; }
|
public int PacsSearchMaxDays { get; set; }
|
||||||
|
|
||||||
|
public int MaxStudyCount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue