Exemplo n.º 1
0
        /// <summary>
        /// Add a Transfer Syntax Uid that should be supported by the DICOM server handling the connection from the actor name.
        /// </summary>
        /// <param name="fromActorName">Actor Name that makes a connection to this DICOM Server.</param>
        /// <param name="transferSyntaxUid">Transfer Syntax UID - as string.</param>
        /// <remarks>The fromActorName type is always the ImageManager at the moment - no other actors connect to the Acquisition
        /// Modality at the moment. The caller does need to supply fromActorName as the Id component is not known by default.</remarks>
        public void AddTransferSyntaxSupportForDicomServer(ActorName fromActorName, System.String transferSyntaxUid)
        {
            //
            // Get the DICOM server within the acquisition modality that handles the DICOM association from the actor name.
            //
            DicomServer dicomServer = _acquisitionModality.GetDicomServer(fromActorName);

            if (dicomServer != null)
            {
                //
                // Add a transfer syntax that the DICOM Server should support.
                //
                dicomServer.AddTransferSyntax(transferSyntaxUid);
            }
        }