ClearCanvas.Dicom.Network.NetworkBase.SendCEchoResponse C# (CSharp) 메소드

SendCEchoResponse() 공개 메소드

Method to send a DICOM C-ECHO-RSP message.
public SendCEchoResponse ( byte presentationID, ushort messageID, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte
messageID ushort
status ClearCanvas.Dicom.Network.DicomStatus
리턴 void
        public void SendCEchoResponse(byte presentationID, ushort messageID, DicomStatus status)
        {
            DicomUid affectedClass = _assoc.GetAbstractSyntax(presentationID);
            var msg = new DicomMessage
                               	{
                               		MessageIdBeingRespondedTo = messageID,
                               		CommandField = DicomCommandField.CEchoResponse,
                               		AffectedSopClassUid = affectedClass.UID,
                               		DataSetType = 0x0101,
                               		Status = status
                               	};

        	SendDimse(presentationID, msg.CommandSet, null);
        }