#pragma once #include "ResDataObject.h" #include "DetectorDefinition.h" class DetectorConfiguration { public: DetectorConfiguration(string ConfigPath); ~DetectorConfiguration(); bool LoadConfigurations(DeviceIndexStruct & DeviceConf); bool SaveConfig(); bool GetDetModeInfo(int nMode, DetModeInfo& AcqModeInfo); ResDataObject m_Configurations; int m_nDetModeNum; private: ResDataObject m_ConfigAll; std::string m_strConfigPath; //ÅäÖÃÎļþ·¾¶ DetModeInfo * m_pDetModeList; };