代码拉取完成,页面将自动刷新
#ifndef TOWERCOLLISIONSETTING_H
#define TOWERCOLLISIONSETTING_H
#include <QWidget>
#include <QtMath>
#include "bblistscreen.h"
#include "datadictionary.h"
#include "toweranalog.h"
namespace Ui {
class TowerCollisionSetting;
}
class TowerCollisionSetting : public QWidget
{
Q_OBJECT
public:
explicit TowerCollisionSetting(QWidget *parent = nullptr);
~TowerCollisionSetting();
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);
private slots:
void on_QuiteButton_clicked();
void MultipleParamDataChange(MultipleParamDataIndex_t);
void MonitorRtDataChange(MonitorRtDataIndex_t);
void DevParamDataChange(DevParamDataIndex_t index);
void on_UpButton_clicked();
void on_DownButton_clicked();
void on_TowerId_returnPressed();
void on_DevId_returnPressed();
void on_RelativeDistance_returnPressed();
void on_RelativeAngle_returnPressed();
void on_RelativeHeight_returnPressed();
void on_ArmLength_returnPressed();
void on_SearchButton_clicked();
private:
void GetMultipCraneInfo();
void DisplayOverLook();
void FixAreaNum(uint32_t index);
void SetAllAlias(uint32_t index);
void SetAreaNum(uint32_t index);
void ShowTowerId();
void ShowDevId();
void ShowRelativeDistance();
void ShowRelativeAngle();
void ShowRelativeHeight();
void ShowArmLength();
void SetTowerId(QString V);
void SetDevId(QString V);
void SetRelativeDistance(QString V);
void SetRelativeAngle(QString V);
void SetRelativeHeight(QString V);
void SetArmLength(QString V);
void ShowCurHeight();
void ShowCurScope();
void ShowCurAngle();
private:
Ui::TowerCollisionSetting *ui;
DataDictionary *m_DataDictionary;
uint32_t m_AreaIndex;
TowerAnalog *m_TowerAnalog[9];
MultiCraneInfo_t m_CraneInfo[9];
BBListScreen *m_BBListScreen;
};
#endif // TOWERCOLLISIONSETTING_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。