add:psdk重启后,通知本程序发送本程序的状态;

This commit is contained in:
tangchao0503
2023-10-25 15:33:52 +08:00
parent 7fa3b70d10
commit d0b67b47c1
5 changed files with 208 additions and 10 deletions

View File

@ -68,8 +68,36 @@ public:
// bool updateConfigFile();
bool writeConfig2File();
private:
string m_configfilePath;
Config cfg;
private:
};
class StateOf300tcConfigfile:public ParameterConfigfile
{
public:
StateOf300tcConfigfile();
bool getSwitchState(bool &switchState);
bool setSwitchState(bool switchState);
bool getSbgState(int &sbgState);
bool setSbgState(int sbgState);
bool getSbgSolutionMode(int &sbgSolutionMode);
bool setSbgSolutionMode(int sbgSolutionMode);
bool getXimeaState(int &ximeaState);
bool setXimeaState(int ximeaState);
bool getExposeMaxValueOfOneFrame(int &exposeMaxValueOfOneFrame);
bool setExposeMaxValueOfOneFrame(int exposeMaxValueOfOneFrame);
bool createConfigFile();
private:
bool getIntValue(int &value, string field);
bool setIntValue(int value, string field);
};
#endif //XIMEAIMAGERECORDER_CONFIGFILE_H