DetectorConfiguration.h 634 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include "ResDataObject.h"
  3. #include "CareRayDRDefinition.h"
  4. namespace CCOS::Dev::Detail::Detector
  5. {
  6. class DetectorConfiguration
  7. {
  8. public:
  9. DetectorConfiguration(string ConfigPath);
  10. ~DetectorConfiguration();
  11. bool LoadConfigurations(DeviceIndexStruct& DeviceConf, ResDataObject& ACQMODElist);
  12. bool GetDetModeInfo(DetModeInfoStruct& DetModeInfo, DetCalibInfo& DetCalibInfo, int nMode);
  13. bool SaveConfig();
  14. ResDataObject m_Configurations;
  15. private:
  16. std::string m_strConfigPath; //ÅäÖÃÎļþ·¾¶
  17. ResDataObject m_ConfigAll;
  18. DeviceIndexStruct m_DeviceInfo;
  19. };
  20. } //end namespace CCOS::Dev::Detail::Detector