Viewer.JSONKey.hpp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. 
  2. #pragma once
  3. #include <string>
  4. using namespace std::literals;
  5. //#include "Viewer.JSONKey.hpp"
  6. //namespace eJKey { ECOM::Viewer::JSONKey;
  7. /// 功能性
  8. namespace ECOM::Viewer::JSONKey
  9. {
  10. // using tString = const std::string;
  11. using tString = const eSTR::DString;
  12. static tString AppName { "AppName" } ;
  13. static tString DllName { "DllName" } ;
  14. static tString TransactionID { "TransactionID" };
  15. static tString ViewerName { "ViewerName" } ;
  16. static tString ProcessID { "ProcessID" } ;
  17. // static tString ThreadID { "ThreadID" } ;
  18. static tString DicomFileHolder { "DicomFileHolder" };
  19. static tString HotView { "HotView" } ;
  20. static tString HotImage { "HotImage" } ;
  21. static tString ROIName { "ROIName" } ;
  22. static tString ROIUID { "ROIUID" } ;
  23. static tString WindowCenter { "WindowCenter" } ;
  24. static tString WindowWidth { "WindowWidth" } ;
  25. static tString Row { "Row" } ;
  26. static tString Column { "Column" };
  27. static tString Format { "Format" };
  28. static tString PatientID { "PatientID" } ;
  29. static tString StudyInstanceUID { "StudyInstanceUID" } ;
  30. static tString SeriesInstanceUID { "SeriesInstanceUID" } ;
  31. static tString SOPInstanceUID { "SOPInstanceUID" } ;
  32. static tString FileName { "FileName" };
  33. static tString DicomFileName { "DicomFileName" };
  34. static tString ConfigFileName { "ConfigFileName" } ;
  35. static tString DirectoryName { "DirectoryName" };
  36. static tString BUSID { "BUSID" };
  37. static tString IndexOfHotView { "IndexOfHotView" };
  38. static tString IndexOfHotImage { "IndexOfHotImage" };
  39. static tString Scope { "Scope" };
  40. static tString Count { "Count" };
  41. static tString Value { "Value" };
  42. static tString Option { "Option" };
  43. static tString GroupBy { "GroupBy" };
  44. // =DicomFileHolder 中的 GroupBy, enByStudy = 1, enBySeries = 2, enByImage = 3,
  45. static tString FileType { "FileType" };
  46. }
  47. /// 非功能性
  48. namespace ECOM::Viewer::JSONKey
  49. {
  50. static tString BuildDate { "BuildDate" } ;
  51. static tString Version { "Version" } ;
  52. static tString VersionMajor { "VersionMajor" } ;
  53. static tString VersionMinor { "VersionMinor" } ;
  54. static tString VersionBuild { "VersionBuild" } ;
  55. static tString VersionRevision { "VersionRevision" } ;
  56. }
  57. namespace ECOM::Viewer::JSONValue
  58. {
  59. using tString = const eSTR::DString;
  60. static tString HotSeries { "HotSeries" };
  61. static tString HotView { "HotView" };
  62. static tString HotImage { "HotImage" };
  63. static tString Selected { "Selected" };
  64. static tString AllSeries { "AllSeries" };
  65. static tString AllImage { "AllImage" };
  66. static tString AllView { "AllView" };
  67. static tString MainWindow { "MainWindow" };
  68. static tString SC_HotView { "SC-HotView" };
  69. static tString SC_MainWindow { "SC-MainWindow" };
  70. static tString View { "View" };
  71. static tString Study { "Study" };
  72. static tString Series { "Series" };
  73. static tString Image { "Image" };
  74. static tString Left { "Left" };
  75. static tString Middle { "Middle" };
  76. static tString Right { "Right" };
  77. static tString FitInWindow { "FitInWindow" };
  78. static tString PixelByPixel { "PixelByPixel" };
  79. static tString SameSize { "SameSize" };
  80. static tString TrueSize { "TrueSize" };
  81. static tString RightSize { "RightSize" };
  82. static tString DicomFileName { "DicomFileName" };
  83. static tString DicomFileToXML { "DicomFileToXML" };
  84. static tString DicomFileToJSON { "DicomFileToJSON" };
  85. namespace FileType
  86. {
  87. static tString DICOM { "DICOM" };
  88. // static tString DICOM_BurnIn { "DICOM+BurnIn" };
  89. // static tString DICOM_BINOverlay { "DICOM+BINOverlay" };
  90. static tString BMP { "BMP" };
  91. static tString JPG { "JPG" };
  92. static tString PNG { "PNG" };
  93. static tString TIF { "TIF" };
  94. // static tString PR { "PR" };
  95. }
  96. namespace ExportOption
  97. {
  98. static tString BurnInOverlay { "BurnInOverlay" };
  99. static tString BINOverlay { "BINOverlay" };
  100. static tString WithLabel { "WithLabel" };
  101. static tString WithOverlay { "WithOverlay" };
  102. static tString MaxWidth { "MaxWidth=" };
  103. static tString MaxHeight { "MaxHeight=" };
  104. static tString FontScaleFactor { "FontScaleFactor=" };
  105. }
  106. static tString Test { "BuildDate" };
  107. }