Mercurial > hg > orthanc
comparison OrthancServer/ServerEnumerations.cpp @ 1846:3dcf5c0734c9
New "AgfaImpax" modality manufacturer for AGFA Impax
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Nov 2015 14:51:43 +0100 |
parents | 0ef4e6e66b56 |
children | efbc3afd6cd3 |
comparison
equal
deleted
inserted
replaced
1845:8ae1a18b9afb | 1846:3dcf5c0734c9 |
---|---|
335 return "Dcm4Chee"; | 335 return "Dcm4Chee"; |
336 | 336 |
337 case ModalityManufacturer_SyngoVia: | 337 case ModalityManufacturer_SyngoVia: |
338 return "SyngoVia"; | 338 return "SyngoVia"; |
339 | 339 |
340 case ModalityManufacturer_AgfaImpax: | |
341 return "AgfaImpax"; | |
342 | |
340 default: | 343 default: |
341 throw OrthancException(ErrorCode_ParameterOutOfRange); | 344 throw OrthancException(ErrorCode_ParameterOutOfRange); |
342 } | 345 } |
343 } | 346 } |
344 | 347 |
398 } | 401 } |
399 else if (manufacturer == "SyngoVia") | 402 else if (manufacturer == "SyngoVia") |
400 { | 403 { |
401 return ModalityManufacturer_SyngoVia; | 404 return ModalityManufacturer_SyngoVia; |
402 } | 405 } |
406 else if (manufacturer == "AgfaImpax") | |
407 { | |
408 return ModalityManufacturer_AgfaImpax; | |
409 } | |
403 else | 410 else |
404 { | 411 { |
405 throw OrthancException(ErrorCode_ParameterOutOfRange); | 412 throw OrthancException(ErrorCode_ParameterOutOfRange); |
406 } | 413 } |
407 } | 414 } |