24 lines
550 B
C
24 lines
550 B
C
|
|
#ifndef CONFIGMANAGER_H
|
|||
|
|
#define CONFIGMANAGER_H
|
|||
|
|
|
|||
|
|
#include "IVrConfig.h"
|
|||
|
|
#include "BaseConfigManager.h"
|
|||
|
|
|
|||
|
|
class ConfigManager : public BaseConfigManager
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
ConfigManager();
|
|||
|
|
virtual ~ConfigManager();
|
|||
|
|
|
|||
|
|
// 重写初始化方法(跳过ConfigMonitor)
|
|||
|
|
bool Initialize(const std::string& configFilePath = "") override;
|
|||
|
|
|
|||
|
|
// 加载配置文件
|
|||
|
|
bool LoadConfigFromFile(const std::string& filePath) override;
|
|||
|
|
|
|||
|
|
// 处理工位切换命令
|
|||
|
|
void OnSwitchWorkPositionCommand(int workPosition);
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
#endif // CONFIGMANAGER_H
|