예제 #1
0
 /// <summary>
 /// This function is for an SCP.  It will add a file by pathname/abstract syntax/transfer syntax to the list of files to respond with.
 /// </summary>
 /// <param name="filePath"></param>
 /// <param name="abstractSyntax"></param>
 /// <param name="transferSyntax"></param>
 public void AddResponseFile(string filePath, AbstractSyntax abstractSyntax, TransferSyntax transferSyntax)
 {
     FilesToSend.Enqueue(new SendableImage {
         FilePath = filePath, AbstractSyntax = abstractSyntax, TransferSyntax = transferSyntax
     });
 }
예제 #2
0
 /// <summary>
 /// This function is for an SCP.  It will add a DICOMData object to the list of files to respond with.
 /// </summary>
 /// <param name="file"></param>
 public void AddResponseFile(DICOMData file)
 {
     FilesToSend.Enqueue(new SendableImage {
         DicomData = file
     });
 }