DetectorConfiguration.h 613 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "ResDataObject.h"
  3. #include "PZMedicalRFDefinition.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);
  12. bool SaveConfig();
  13. bool GetDetModeInfo(int nMode, DetModeInfo& AcqModeInfo);
  14. ResDataObject m_Configurations;
  15. int m_nDetModeNum; //探测器采集模式总数
  16. private:
  17. std::string m_strConfigPath; //配置文件路径
  18. ResDataObject m_ConfigAll;
  19. DetModeInfo* m_pDetModeList;
  20. };
  21. } //end namespace CCOS::Dev::Detail::Detector