Mercurial > hg > orthanc
comparison OrthancServer/ServerEnumerations.cpp @ 1852:efbc3afd6cd3
Efilm and Vitrea manufacturers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Dec 2015 14:59:14 +0100 |
parents | 3dcf5c0734c9 |
children | 36ab170733d6 |
comparison
equal
deleted
inserted
replaced
1851:d364926389e0 | 1852:efbc3afd6cd3 |
---|---|
338 return "SyngoVia"; | 338 return "SyngoVia"; |
339 | 339 |
340 case ModalityManufacturer_AgfaImpax: | 340 case ModalityManufacturer_AgfaImpax: |
341 return "AgfaImpax"; | 341 return "AgfaImpax"; |
342 | 342 |
343 case ModalityManufacturer_Efilm: | |
344 return "Efilm"; | |
345 | |
346 case ModalityManufacturer_Vitrea: | |
347 return "Vitrea"; | |
348 | |
343 default: | 349 default: |
344 throw OrthancException(ErrorCode_ParameterOutOfRange); | 350 throw OrthancException(ErrorCode_ParameterOutOfRange); |
345 } | 351 } |
346 } | 352 } |
347 | 353 |
405 } | 411 } |
406 else if (manufacturer == "AgfaImpax") | 412 else if (manufacturer == "AgfaImpax") |
407 { | 413 { |
408 return ModalityManufacturer_AgfaImpax; | 414 return ModalityManufacturer_AgfaImpax; |
409 } | 415 } |
416 else if (manufacturer == "Vitrea") | |
417 { | |
418 return ModalityManufacturer_Vitrea; | |
419 } | |
420 else if (manufacturer == "Efilm") | |
421 { | |
422 return ModalityManufacturer_Efilm; | |
423 } | |
410 else | 424 else |
411 { | 425 { |
412 throw OrthancException(ErrorCode_ParameterOutOfRange); | 426 throw OrthancException(ErrorCode_ParameterOutOfRange); |
413 } | 427 } |
414 } | 428 } |