测试 dicom 注入服务

This commit is contained in:
2024-03-12 09:32:01 +08:00
parent d675cc50b3
commit a24c6775e8
3 changed files with 16 additions and 4 deletions
+5 -1
View File
@@ -257,6 +257,7 @@ var hangfireJobService = app.Services.GetRequiredService<IIRaCISHangfireJob>();
await hangfireJobService.InitHangfireJobTaskAsync();
#endregion
try
@@ -292,7 +293,10 @@ try
//Log.Logger.Warning($"ContentRootPath——GetParent{Directory.GetParent(env.ContentRootPath).Parent.FullName}");
//Log.Logger.Warning($"ContentRootPath——xx{Path.GetDirectoryName(Path.GetDirectoryName(env.ContentRootPath))}");
//DicomServerFactory.Create<CStoreSCPService>(11112);
var server = DicomServerFactory.Create<CStoreSCPService>(11112,userState: app.Services);
app.Run();