comparison OrthancServer/main.cpp @ 2640:c691fcf66071 jobs

ResourceModificationJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 May 2018 16:30:17 +0200
parents 33c0b4da8cb2
children a21b244efb37
comparison
equal deleted inserted replaced
2639:75a404e40323 2640:c691fcf66071
73 const std::string& calledAet) 73 const std::string& calledAet)
74 { 74 {
75 if (dicomFile.size() > 0) 75 if (dicomFile.size() > 0)
76 { 76 {
77 DicomInstanceToStore toStore; 77 DicomInstanceToStore toStore;
78 toStore.SetDicomProtocolOrigin(remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str()); 78 toStore.GetOrigin().SetDicomProtocolOrigin(remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str());
79 toStore.SetBuffer(dicomFile); 79 toStore.SetBuffer(dicomFile);
80 toStore.SetSummary(dicomSummary); 80 toStore.SetSummary(dicomSummary);
81 toStore.SetJson(dicomJson); 81 toStore.SetJson(dicomJson);
82 82
83 std::string id; 83 std::string id;