From 064e3836caba834537e0e71b799f849f4ce3974f Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 28 Oct 2025 11:21:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/HostService/DicomSCPService.cs | 6 +++++- IRaCIS.Core.API/appsettings.Test_HIR.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.API/HostService/DicomSCPService.cs b/IRaCIS.Core.API/HostService/DicomSCPService.cs index ec1eff5e9..5475dd257 100644 --- a/IRaCIS.Core.API/HostService/DicomSCPService.cs +++ b/IRaCIS.Core.API/HostService/DicomSCPService.cs @@ -1,4 +1,5 @@ using AutoMapper.Execution; +using DocumentFormat.OpenXml.Bibliography; using FellowOakDicom; using FellowOakDicom.Network; using FellowOakDicom.Network.Client; @@ -82,7 +83,10 @@ namespace IRaCIS.Core.API.HostService public void OnConnectionClosed(Exception exception) { - throw new NotImplementedException(); + if (exception != null) + { + Logger.LogError($"Closed, exception is {exception.Message}"); + } } public void OnReceiveAbort(DicomAbortSource source, DicomAbortReason reason) diff --git a/IRaCIS.Core.API/appsettings.Test_HIR.json b/IRaCIS.Core.API/appsettings.Test_HIR.json index 59b59fc00..f3447d7a3 100644 --- a/IRaCIS.Core.API/appsettings.Test_HIR.json +++ b/IRaCIS.Core.API/appsettings.Test_HIR.json @@ -59,7 +59,7 @@ "ThirdSearchPacsAE": "ThirdCalledPacsAE", "ThirdCallningAE": "ThirdCallningAE", "CalledAEList": [ - "HIRSCU", + "HIRSCUAE", "HIRSCPAE" ], "ServerPort": 11112