comparison OrthancServer/ServerEnumerations.cpp @ 2317:5b7556568fa4

Incoming C-Find request: removing group-length for all manufacturer -> removed EFilm2 manufacturer that is now useless
author amazy
date Thu, 13 Jul 2017 11:35:57 +0200
parents d19e716b79fa
children ae6245053bcf
comparison
equal deleted inserted replaced
2316:8bca2c8eaead 2317:5b7556568fa4
341 return "SyngoVia"; 341 return "SyngoVia";
342 342
343 case ModalityManufacturer_AgfaImpax: 343 case ModalityManufacturer_AgfaImpax:
344 return "AgfaImpax"; 344 return "AgfaImpax";
345 345
346 case ModalityManufacturer_EFilm2:
347 return "EFilm2";
348
349 case ModalityManufacturer_Vitrea: 346 case ModalityManufacturer_Vitrea:
350 return "Vitrea"; 347 return "Vitrea";
351 348
352 default: 349 default:
353 throw OrthancException(ErrorCode_ParameterOutOfRange); 350 throw OrthancException(ErrorCode_ParameterOutOfRange);
420 { 417 {
421 return ModalityManufacturer_Vitrea; 418 return ModalityManufacturer_Vitrea;
422 } 419 }
423 else if (manufacturer == "EFilm2") 420 else if (manufacturer == "EFilm2")
424 { 421 {
425 return ModalityManufacturer_EFilm2; 422 LOG(WARNING) << "The " << manufacturer << " manufacturer is obsolete since Orthanc 1.2.1. To guarantee compatibility with future Orthanc version, you should remove it from your configuration file.";
423
424 return ModalityManufacturer_Generic;
426 } 425 }
427 else 426 else
428 { 427 {
429 throw OrthancException(ErrorCode_ParameterOutOfRange); 428 throw OrthancException(ErrorCode_ParameterOutOfRange);
430 } 429 }