diff OrthancServer/ServerEnumerations.cpp @ 1429:7366a0bdda6a

attempt of fix for Syngo.Via
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Jun 2015 14:43:08 +0200
parents 6e7e5ed91c2d
children d6a93e12b1c1
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.cpp	Mon Jun 29 13:26:34 2015 +0200
+++ b/OrthancServer/ServerEnumerations.cpp	Mon Jun 29 14:43:08 2015 +0200
@@ -300,6 +300,9 @@
       case ModalityManufacturer_Dcm4Chee:
         return "Dcm4Chee";
       
+      case ModalityManufacturer_SyngoVia:
+        return "SyngoVia";
+      
       default:
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }
@@ -359,6 +362,10 @@
     {
       return ModalityManufacturer_Dcm4Chee;
     }
+    else if (manufacturer == "SyngoVia")
+    {
+      return ModalityManufacturer_SyngoVia;
+    }
     else
     {
       throw OrthancException(ErrorCode_ParameterOutOfRange);