Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.cpp Mon Nov 30 14:04:05 2015 +0100 +++ b/OrthancServer/ServerEnumerations.cpp Mon Nov 30 14:51:43 2015 +0100 @@ -337,6 +337,9 @@ case ModalityManufacturer_SyngoVia: return "SyngoVia"; + case ModalityManufacturer_AgfaImpax: + return "AgfaImpax"; + default: throw OrthancException(ErrorCode_ParameterOutOfRange); } @@ -400,6 +403,10 @@ { return ModalityManufacturer_SyngoVia; } + else if (manufacturer == "AgfaImpax") + { + return ModalityManufacturer_AgfaImpax; + } else { throw OrthancException(ErrorCode_ParameterOutOfRange);