public ServerPartition(
     Boolean _enabled_
     , String _description_
     , String _aeTitle_
     , Int32 _port_
     , String _partitionFolder_
     , Boolean _acceptAnyDevice_
     , Boolean _auditDeleteStudy_
     , Boolean _autoInsertDevice_
     , Int32 _defaultRemotePort_
     , Int32 _studyCount_
     , DuplicateSopPolicyEnum _duplicateSopPolicyEnum_
     , Boolean _matchAccessionNumber_
     , Boolean _matchIssuerOfPatientId_
     , Boolean _matchPatientId_
     , Boolean _matchPatientsBirthDate_
     , Boolean _matchPatientsName_
     , Boolean _matchPatientsSex_
     , Boolean _acceptLatestReport_
     , ServerPartitionTypeEnum _serverPartitionTypeEnum_
     ) : base("ServerPartition")
 {
     Enabled                 = _enabled_;
     Description             = _description_;
     AeTitle                 = _aeTitle_;
     Port                    = _port_;
     PartitionFolder         = _partitionFolder_;
     AcceptAnyDevice         = _acceptAnyDevice_;
     AuditDeleteStudy        = _auditDeleteStudy_;
     AutoInsertDevice        = _autoInsertDevice_;
     DefaultRemotePort       = _defaultRemotePort_;
     StudyCount              = _studyCount_;
     DuplicateSopPolicyEnum  = _duplicateSopPolicyEnum_;
     MatchAccessionNumber    = _matchAccessionNumber_;
     MatchIssuerOfPatientId  = _matchIssuerOfPatientId_;
     MatchPatientId          = _matchPatientId_;
     MatchPatientsBirthDate  = _matchPatientsBirthDate_;
     MatchPatientsName       = _matchPatientsName_;
     MatchPatientsSex        = _matchPatientsSex_;
     AcceptLatestReport      = _acceptLatestReport_;
     ServerPartitionTypeEnum = _serverPartitionTypeEnum_;
 }
 public ServerPartition(
      Boolean _enabled_
     ,String _description_
     ,String _aeTitle_
     ,Int32 _port_
     ,String _partitionFolder_
     ,Boolean _acceptAnyDevice_
     ,Boolean _auditDeleteStudy_
     ,Boolean _autoInsertDevice_
     ,Int32 _defaultRemotePort_
     ,Int32 _studyCount_
     ,DuplicateSopPolicyEnum _duplicateSopPolicyEnum_
     ,Boolean _matchAccessionNumber_
     ,Boolean _matchIssuerOfPatientId_
     ,Boolean _matchPatientId_
     ,Boolean _matchPatientsBirthDate_
     ,Boolean _matchPatientsName_
     ,Boolean _matchPatientsSex_
     ,Boolean _acceptLatestReport_
     ,ServerPartitionTypeEnum _serverPartitionTypeEnum_
     ):base("ServerPartition")
 {
     Enabled = _enabled_;
     Description = _description_;
     AeTitle = _aeTitle_;
     Port = _port_;
     PartitionFolder = _partitionFolder_;
     AcceptAnyDevice = _acceptAnyDevice_;
     AuditDeleteStudy = _auditDeleteStudy_;
     AutoInsertDevice = _autoInsertDevice_;
     DefaultRemotePort = _defaultRemotePort_;
     StudyCount = _studyCount_;
     DuplicateSopPolicyEnum = _duplicateSopPolicyEnum_;
     MatchAccessionNumber = _matchAccessionNumber_;
     MatchIssuerOfPatientId = _matchIssuerOfPatientId_;
     MatchPatientId = _matchPatientId_;
     MatchPatientsBirthDate = _matchPatientsBirthDate_;
     MatchPatientsName = _matchPatientsName_;
     MatchPatientsSex = _matchPatientsSex_;
     AcceptLatestReport = _acceptLatestReport_;
     ServerPartitionTypeEnum = _serverPartitionTypeEnum_;
 }
Esempio n. 3
0
		private ImageServerDuplicateSopPolicyEnum GetDup(DuplicateSopPolicyEnum e)
		{
			if (e == DuplicateSopPolicyEnum.AcceptLatest)
				 return ImageServerDuplicateSopPolicyEnum.AcceptLatest;
			if (e == DuplicateSopPolicyEnum.CompareDuplicates)
				return ImageServerDuplicateSopPolicyEnum.CompareDuplicates;
			if (e == DuplicateSopPolicyEnum.RejectDuplicates)
				return ImageServerDuplicateSopPolicyEnum.RejectDuplicates;
			if (e == DuplicateSopPolicyEnum.SendSuccess)
				return ImageServerDuplicateSopPolicyEnum.SendSuccess;

			return ImageServerDuplicateSopPolicyEnum.SendSuccess;
		}