Device detection CAN reporting continuance

This commit is contained in:
2024-03-03 16:55:30 -05:00
parent 56b30216c9
commit 4400ff6144
21 changed files with 1630 additions and 25 deletions
+12 -1
View File
@@ -5,7 +5,7 @@
#include "CloudParams.h"
#include "GeneralSystemParams.h"
#include "CPUWatchdogConfig.h"
#include <DeviceDetectionConfig.h>
class COtarcikCan;
@@ -24,15 +24,19 @@ public:
int SetCloudParams(const CCloudParams *CloudParams);
int SetGeneralSettingsParams(const CGeneralSystemParams *GeneralParams);
int SetCPUWatchdogSettings(const CCPUWatchdogConfig *CPUWatchdogParams);
int SetDeviceConfigSettings(const CDeviceDetectionConfig *DevDetectCfgParams);
COtarcikCan *mProgramHandle;
private:
int UpdateCloudConfig();
int UpdateGeneralParams();
int UpdateCPUWatchdogParams();
int UpdateCANFlagsParams();
int UpdateDevicePresenceParams(bool Restore = true);
Ui::CLoggingSettingsPage *ui;
@@ -40,6 +44,10 @@ private:
CCloudParams mCloudParams;
CGeneralSystemParams mGeneralSystemParams;
CCPUWatchdogConfig mCPUWatchdogParams;
CDeviceDetectionConfig mDeviceDetectConfigHandle;
bool mDevicePresenceEditMode;
@@ -49,6 +57,9 @@ public slots:
void VerbosityParamsChanged(int value);
void EnableCPUWDCheckBxClicked(int state);
void CPUWDTimeoutChanged(int value);
void DevicePresenceEnableChkBxChanged(int state);
void DevicePresenceModifyParamsBtnPressed();
void DevicePresenceCancelBtnPressed();
};