代码拉取完成,页面将自动刷新
#ifndef AREALIMITSETTING_H
#define AREALIMITSETTING_H
#include <QWidget>
#include "datadictionary.h"
#include "toweranalog.h"
namespace Ui {
class AreaLimitSetting;
}
class AreaLimitSetting : public QWidget
{
Q_OBJECT
public:
explicit AreaLimitSetting(QWidget *parent = nullptr);
~AreaLimitSetting();
typedef struct {
quint32 auStartAngle;
quint32 auEndAngle;
double afStartScope;
double afEndScope;
double afShowStartScope;
double afShowEndScope;
}SigCraneInfo_t;
typedef struct {
quint32 auiDevId;
double afArmLength;
double afRelativeDistance;
quint32 auiRelativeAngle;
quint32 auiCurrentAngle;
// double afRelativeHeight;
quint32 auiTowerId;
double afShowArmLength;
quint32 auiShowX;
quint32 auiShowY;
}MultiCraneInfo_t;
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
void SignalParamDataChange(SignalParamDataIndex_t);
void MonitorRtDataChange(MonitorRtDataIndex_t);
void on_QuiteButton_clicked();
void on_StartScopeLine_returnPressed();
void on_UpButton_clicked();
void on_DownButton_clicked();
void on_EndScopeLine_returnPressed();
void on_StartAngleLine_returnPressed();
void on_EndAngleLine_returnPressed();
void on_Height_returnPressed();
private:
void FixAreaNum(uint32_t index);
void SetAllAlias(uint32_t index);
void SetAreaNum(uint32_t index);
void ShowStartAngle();
void ShowEndAngle();
void ShowStartScope();
void ShowEndScope();
void ShowStartHeight();
void ShowEndHeight();
void SetStartAngle(QString V);
void SetEndAngle(QString V);
void SetStartScope(QString V);
void SetEndScope(QString V);
void SetHeight(QString V);
void GetSigCraneInfo();
void DisplayOverLook();
private:
Ui::AreaLimitSetting *ui;
DataDictionary *m_DataDictionary;
uint32_t m_AreaIndex;
TowerAnalog *m_TowerAnalog;
SigCraneInfo_t m_SigCraneInfo[8];
MultiCraneInfo_t m_CraneInfo;
};
#endif // AREALIMITSETTING_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。