#pragma once #include "ResDataObject.h" #include "DetectorCtrlDefinition.h" class DetectorConfiguration { public: DetectorConfiguration(string ConfigPath); ~DetectorConfiguration(); ResDataObject m_Configurations; bool LoadConfigurations(DeviceIndexStruct & DeviceConf, ResDataObject & ACQMODElist); bool SaveConfig(); //LoadConfigurations后再调用此函数 bool LoadCalibrationDose(string& strWorkPath, ResDataObject& CalibDoseList); //LoadConfigurations后再调用此函数 bool LoadDetectorMode(string& strWorkPath, ResDataObject& ApplicationModeList); private: ResDataObject m_ConfigAll; std::string m_strConfigPath; //配置文件路径 };