예제 #1
0
 public DcmPresContext(byte pcid, DicomUID abstractSyntax)
 {
     _pcid      = pcid;
     _result    = DcmPresContextResult.Proposed;
     _abstract  = abstractSyntax;
     _transfers = new List <DicomTransferSyntax>();
 }
예제 #2
0
		internal DcmPresContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result) {
			_pcid = pcid;
			_result = result;
			_abstract = abstractSyntax;
			_transfers = new List<DicomTransferSyntax>();
			_transfers.Add(transferSyntax);
		}
예제 #3
0
 internal DcmPresContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result)
 {
     _pcid      = pcid;
     _result    = result;
     _abstract  = abstractSyntax;
     _transfers = new List <DicomTransferSyntax>();
     _transfers.Add(transferSyntax);
 }
예제 #4
0
 public void SetResult(DcmPresContextResult result, DicomTransferSyntax acceptedTs)
 {
     _transfers.Clear();
     _transfers.Add(acceptedTs);
     _result = result;
 }
예제 #5
0
 public void SetResult(DcmPresContextResult result)
 {
     SetResult(result, _transfers[0]);
 }
예제 #6
0
 public DcmPresContext(byte pcid, DicomUID abstractSyntax)
 {
     _pcid = pcid;
     _result = DcmPresContextResult.Proposed;
     _abstract = abstractSyntax;
     _transfers = new List<DicomTransferSyntax>();
 }
예제 #7
0
 /// <summary>
 /// Sets the result of the specified Presentation Context.
 /// </summary>
 /// <param name="pcid">Presentation Context ID</param>
 /// <param name="result">Result</param>
 public void SetPresentationContextResult(byte pcid, DcmPresContextResult result)
 {
     GetPresentationContext(pcid).SetResult(result);
 }
예제 #8
0
 public void AddPresentationContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result)
 {
     _presContexts.Add(pcid, new DcmPresContext(pcid, abstractSyntax, transferSyntax, result));
 }
예제 #9
0
 public void AddPresentationContext(byte pcid, DicomUID abstractSyntax, DicomTransferSyntax transferSyntax, DcmPresContextResult result)
 {
     _presContexts.Add(pcid, new DcmPresContext(pcid, abstractSyntax, transferSyntax, result));
 }
예제 #10
0
 /// <summary>
 /// Sets the result of the specified Presentation Context.
 /// </summary>
 /// <param name="pcid">Presentation Context ID</param>
 /// <param name="result">Result</param>
 public void SetPresentationContextResult(byte pcid, DcmPresContextResult result)
 {
     GetPresentationContext(pcid).SetResult(result);
 }
예제 #11
0
 public void SetResult(DcmPresContextResult result, DicomTransferSyntax acceptedTs)
 {
     _transfers.Clear();
     _transfers.Add(acceptedTs);
     _result = result;
 }
예제 #12
0
 public void SetResult(DcmPresContextResult result)
 {
     SetResult(result, _transfers[0]);
 }