Example #1
0
        public int GetServerPort(string sa)
        {
            DicomAE ae = GetServer(sa);

            if (ae != null)
            {
                return(ae.Port);
            }
            else
            {
                return(0);
            }
        }
Example #2
0
        public string GetServerAe(string sa)
        {
            DicomAE ae = GetServer(sa);

            if (ae != null)
            {
                return(ae.AE);
            }
            else
            {
                return(string.Empty);
            }
        }
Example #3
0
        public DicomAE GetServer(string sa)
        {
            DicomAE ret = null;

            foreach (DicomAE ae in _serverArrayList)
            {
                if (string.Compare(ae.AE, sa, true) == 0)
                {
                    ret = ae;
                }
            }
            return(ret);
        }
Example #4
0
 public DicomDemoSettings( )
 {
     ServerList         = new List <DicomAE> ( );
     FileList           = new List <string>();
     ClientAe           = new DicomAE( );
     _logLowLevel       = false;
     _showHelpOnStart   = true;
     _isPreconfigured   = false;
     _firstRun          = true;
     _compression       = 0;
     _broadQuery        = false;
     _excludeList       = new List <long>();
     _storageClassList  = new List <string>();
     _dicomRetrieveMode = DicomRetrieveMode.CMove;
     _storageCommitResultsOnSameAssociation = true;
 }
Example #5
0
 public DicomDemoSettings ( ) 
 {
    ServerList = new List<DicomAE> ( ) ;
    FileList = new List<string>();
    ClientAe   = new DicomAE ( ) ;
    _logLowLevel = false;
    _showHelpOnStart = true;
    _isPreconfigured = false;
    _firstRun = true;
    _compression = 0;
    _broadQuery = false;
    _excludeList = new List<long>();
 }
Example #6
0
 public StorageServerInformation(DicomAE server, string serviceName, string machineName)
 {
    DicomServer = server;
    ServiceName = serviceName;
    MachineName = machineName;
 }
Example #7
0
 public StorageServerInformation(DicomAE server, string serviceName, string machineName)
 {
     DicomServer = server;
     ServiceName = serviceName;
     MachineName = machineName;
 }