Esempio n. 1
0
        public override void ApplyConfig(DicomConfig config)
        {
            PrintScp printScp = new PrintScp();

            printScp.AddDefaultMessageHandlers();
            Scp = printScp;
            base.ApplyConfig(config);
        }
Esempio n. 2
0
        /// <summary>
        /// Apply the Dicom Configuration to the Client,
        /// </summary>
        /// <param name="commonConfig">Common Configuration.</param>
        /// <param name="config">Dicom Configuration.</param>
        public override void ApplyConfig(CommonConfig commonConfig, DicomPeerToPeerConfig config)
        {
            // Instantiate a new Print SCP and add the default message handlers
            PrintScp printScp = new PrintScp();

            printScp.AddDefaultMessageHandlers();

            // update supported transfer syntaxes here
            //printScp.ClearTransferSyntaxes();
            //printScp.AddTransferSyntax(HliScp.IMPLICIT_VR_LITTLE_ENDIAN);

            // Save the SCP and apply the configuration
            Scp = printScp;
            base.ApplyConfig(commonConfig, config);
        }