Ajout config CPU Watchdog dans la page des settings
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QWidget>
|
||||
#include "CloudParams.h"
|
||||
#include "GeneralSystemParams.h"
|
||||
#include "CPUWatchdogConfig.h"
|
||||
|
||||
|
||||
class COtarcikCan;
|
||||
@@ -22,6 +23,7 @@ public:
|
||||
|
||||
int SetCloudParams(const CCloudParams *CloudParams);
|
||||
int SetGeneralSettingsParams(const CGeneralSystemParams *GeneralParams);
|
||||
int SetCPUWatchdogSettings(const CCPUWatchdogConfig *CPUWatchdogParams);
|
||||
|
||||
|
||||
COtarcikCan *mProgramHandle;
|
||||
@@ -29,13 +31,14 @@ public:
|
||||
private:
|
||||
int UpdateCloudConfig();
|
||||
int UpdateGeneralParams();
|
||||
|
||||
int UpdateCPUWatchdogParams();
|
||||
|
||||
Ui::CLoggingSettingsPage *ui;
|
||||
|
||||
bool EditMode;
|
||||
CCloudParams mCloudParams;
|
||||
CGeneralSystemParams mGeneralSystemParams;
|
||||
CCPUWatchdogConfig mCPUWatchdogParams;
|
||||
|
||||
|
||||
|
||||
@@ -43,6 +46,8 @@ public slots:
|
||||
void ModifyParamsBtnPressed();
|
||||
void CancelBtnPressed();
|
||||
void VerbosityParamsChanged(int value);
|
||||
void EnableCPUWDCheckBxClicked(int state);
|
||||
void CPUWDTimeoutChanged(int value);
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user