Pārlūkot izejas kodu

Rename cMove routines to retrieve to highlight internal management of C-MOVE by Orthanc

Andrej 1 mēnesi atpakaļ
vecāks
revīzija
99560b22c1
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      orthancQR.py

+ 2 - 2
orthancQR.py

@@ -47,14 +47,14 @@ class orthancQR:
       #content of answer, object with DICOM codes (IDs etc)
       return orthancDatabaseBrowser.extractJSON(response.data)
 
-   def sendCMoveForAll(self,queryId):
+   def startRetrievaJobForAll(self,queryId):
 #returns jobDescripton as JSON (ID,Path)
       apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'retrieve'])
       v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}
       response=self.net.post(apiURL,json.dumps(v),'json')
       return orthancDatabaseBrowser.extractJSON(response.data)
 
-   def sendCMove(self,queryId,answerId):
+   def startRetrieveJob(self,queryId,answerId):
 #returns jobDescripton as JSON (ID,Path)
       apiURL='/'.join([self.net.getCoreURL(),'queries',queryId,'answers',answerId,'retrieve'])
       v={"TargetAet":"NIXLJUOIL","RetrieveMethod":"C-MOVE","Synchronous":False}