代码拉取完成,页面将自动刷新
#ifndef LIMITDEBUG_H
#define LIMITDEBUG_H
#include <QWidget>
#include <QRadioButton>
#include "datadictionary.h"
#include "potentiometerlimit.h"
#include "electroniccompasslimit.h"
namespace Ui {
class LimitDebug;
}
class LimitDebug : public QWidget
{
Q_OBJECT
public:
explicit LimitDebug(QWidget *parent = nullptr);
~LimitDebug();
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void DevParamDataChangeProcess(DevParamDataIndex_t index);
void MonitorRtDataChangeProcess(MonitorRtDataIndex_t index);
void currentChanged(int Index);
void on_QuiteButton_clicked();
void on_WeightLL_returnPressed();
void on_WeightLLSig_returnPressed();
void on_WeightUL_returnPressed();
void on_WeightULSig_returnPressed();
void on_ScopeLL_returnPressed();
void on_ScopeLLSig_returnPressed();
void on_ScopeUL_returnPressed();
void on_ScopeULSig_returnPressed();
void on_HeightLL_returnPressed();
void on_HeightLLSig_returnPressed();
void on_HeightUL_returnPressed();
void on_HeightULSig_returnPressed();
void on_ScopeWraningV_returnPressed();
void on_ScopeAlarmV_returnPressed();
void on_ScopeAlarmEnable_clicked();
void on_ScopeAlarmUnable_clicked();
void on_HeightWraningV_returnPressed();
void on_HeightAlarmV_returnPressed();
void on_HeightAlarmEnable_clicked();
void on_HeightAlarmUnable_clicked();
void on_ArmZero_clicked();
void on_LandZero_clicked();
void on_ScopeSensorReset_clicked();
void on_HightSensorReset_clicked();
private:
void Display();
void SetAllAlias();
void AlarmEnableDisplay();
template<class T>
void SetDevParamData(DevParamDataIndex_t Index,T Data);
void SetButtonSta(bool Sta, QRadioButton *EnableButton, QRadioButton *UnableBooton, bool UpdateFlg = true);
void SetQRadioButtonStyleSheet(QRadioButton *button,bool s);
void SetQRadioButtonStyleSheet();
void SetSensorType(int Type);
private:
Ui::LimitDebug *ui;
DataDictionary *m_DataDictionary;
// PotentiometerLimit *m_PotentiometerLimit;
// ElectronicCompassLimit *m_ElectronicCompassLimit;
enum {
WIDGET_PAGE = 0,
SCOPE_PAGE,
HEIGHT_PAGE,
ROTATION_PAGE,
};
};
#endif // LIMITDEBUG_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。