修改测试AE
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ff4136e02d
commit
22c9386101
|
@ -1,31 +1,14 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||||
"iisSettings": {
|
|
||||||
"windowsAuthentication": false,
|
|
||||||
"anonymousAuthentication": true,
|
|
||||||
"iisExpress": {
|
|
||||||
"applicationUrl": "http://localhost:36358",
|
|
||||||
"sslPort": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"Test_IRC_SCP": {
|
"Test_IRC_SCP": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"dotnetRunMessages": true,
|
"dotnetRunMessages": true,
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"launchUrl": "swagger",
|
"launchUrl": "swagger",
|
||||||
"applicationUrl": "http://localhost:5243",
|
"applicationUrl": "http://localhost:6200",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "IRC_Test_SCP"
|
"ASPNETCORE_ENVIRONMENT": "Test_IRC_SCP"
|
||||||
}
|
|
||||||
},
|
|
||||||
"IIS Express": {
|
|
||||||
"commandName": "IISExpress",
|
|
||||||
"launchBrowser": true,
|
|
||||||
"launchUrl": "swagger",
|
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,6 +102,8 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
var trialDicomAEList = _trialDicomAERepository.Select(t => new { t.CalledAE, t.TrialId }).ToList();
|
var trialDicomAEList = _trialDicomAERepository.Select(t => new { t.CalledAE, t.TrialId }).ToList();
|
||||||
var trialCalledAEList = trialDicomAEList.Select(t => t.CalledAE).ToList();
|
var trialCalledAEList = trialDicomAEList.Select(t => t.CalledAE).ToList();
|
||||||
|
|
||||||
|
Log.Logger.Information("当前系统配置:", string.Join('|', trialDicomAEList));
|
||||||
|
|
||||||
var findCalledAE = trialDicomAEList.Where(t => t.CalledAE == association.CalledAE).FirstOrDefault();
|
var findCalledAE = trialDicomAEList.Where(t => t.CalledAE == association.CalledAE).FirstOrDefault();
|
||||||
|
|
||||||
var isCanReceiveIamge = false;
|
var isCanReceiveIamge = false;
|
||||||
|
@ -121,8 +123,14 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
|
|
||||||
isCanReceiveIamge = true;
|
isCanReceiveIamge = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (association.CallingAE == "test-callingAE")
|
||||||
|
{
|
||||||
|
isCanReceiveIamge = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!trialCalledAEList.Contains(association.CalledAE) || isCanReceiveIamge == false)
|
if (!trialCalledAEList.Contains(association.CalledAE) || isCanReceiveIamge == false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue