Beispiel #1
0
 public static void UpdateExtendedConfiguration(DicomServerExtendedConfiguration configuration)
 {
     Platform.GetService <IDicomServerConfiguration>(
         s => s.UpdateExtendedConfiguration(new UpdateDicomServerExtendedConfigurationRequest {
         ExtendedConfiguration = configuration
     }));
 }
Beispiel #2
0
        public static DicomServerExtendedConfiguration GetExtendedConfiguration()
        {
            DicomServerExtendedConfiguration configuration = null;

            Platform.GetService <IDicomServerConfiguration>(
                s => configuration = s.GetExtendedConfiguration(new GetDicomServerExtendedConfigurationRequest()).ExtendedConfiguration);
            return(configuration);
        }
Beispiel #3
0
        public DicomServerExtendedConfiguration UpdateExtendedConfiguration(DicomServerExtendedConfiguration newConfiguration)
        {
            var settings = new DicomServerSettings();
            var proxy    = settings.GetProxy();

            proxy.AllowUnknownCaller   = newConfiguration.AllowUnknownCaller;
            proxy.QueryResponsesInUtf8 = newConfiguration.QueryResponsesInUtf8;
            // TODO (CR Jun 2012): For now, the storage SOP Classes and Transfer Syntaxes are ignored.

            return(settings.GetExtendedConfiguration());
        }