卫星终端控制软件_V1.0.3
1、增加北斗RDSS卫星状态显示; 2、修改模组状态/信号强度/注M状态/入网状态图标显示 3、增加转台状态显示 4、增加参数配置功能 5、解决通话时间显示上一次市场的问题 6、解决来电号码为00字符的问题
This commit is contained in:
17
mainwindow.h
17
mainwindow.h
@@ -11,10 +11,9 @@
|
||||
|
||||
#include "RecordQuery.h"
|
||||
#include "LoggerWidget.h"
|
||||
#include "ConfigParam.h"
|
||||
#include "msg.h"
|
||||
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
@@ -58,12 +57,16 @@ private slots:
|
||||
void onTimerTimeout1s();
|
||||
|
||||
void handleUdpRequest(const QByteArray &message);
|
||||
void on_btnConfigParam_clicked();
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent* event) override;
|
||||
private:
|
||||
void createBeiDouSignalStrengthChart();
|
||||
void createAzimuthMapChart();
|
||||
void setSignalStrengthValues(const QStringList& categories,const QList<qreal> &yValues);
|
||||
void createBeiDouRDSSSignalStrengthChart();
|
||||
void setRDSSSignalStrengthValues(uint8_t type, const QStringList &categories, const QList<qreal> &yValues);
|
||||
void setAzimuthValues(const QList<QPointF> &points);
|
||||
//-------------------------------------------------
|
||||
// 消息列表操作
|
||||
@@ -82,6 +85,7 @@ private:
|
||||
void processBeiDouShortMessageCmd(const QByteArray& cmd);
|
||||
void processStatusReportCmd(const QByteArray& cmd);
|
||||
void processSearchSatelliteStatusReport(const QByteArray& cmd);
|
||||
void processZhuanTaiStatusReportCmd(const QByteArray& cmd);
|
||||
void processDebugCmd(const QByteArray& cmd);
|
||||
// 处理模块状态
|
||||
void processUhfModuleStatus(uint8_t status);
|
||||
@@ -105,7 +109,7 @@ private:
|
||||
|
||||
std::pair<QString,QString> parseReceivedShortMessage(const QByteArray& cmd,Channel chan);
|
||||
|
||||
std::pair<bool,Channel> selectChannel(CommType comm_type);
|
||||
std::pair<bool,Channel> selectChannel(ChannelType comm_type);
|
||||
|
||||
bool checkNumber(const QString& number);
|
||||
bool checkMessage(const QString& message);
|
||||
@@ -167,10 +171,17 @@ private:
|
||||
std::shared_ptr<QUdpSocket> m_udpServerSocket;
|
||||
std::shared_ptr<RecordQuery> m_recordQueryWidget;
|
||||
std::shared_ptr<LoggerWidget> m_loggerWidget;
|
||||
std::shared_ptr<ConfigParam> m_configParamWidget;
|
||||
QChart* m_signalStrengthChart;
|
||||
QPolarChart* m_azimuthChart;
|
||||
QBarCategoryAxis* m_signalStrengthChartXAxis;
|
||||
QValueAxis* m_signalStrengthChartYAxis;
|
||||
QStackedBarSeries *m_stackedSeries;
|
||||
QChart* m_RDS1signalStrengthChart;
|
||||
QBarCategoryAxis* m_RDS1signalStrengthChartXAxis;
|
||||
QValueAxis* m_RDS1signalStrengthChartYAxis;
|
||||
QChart* m_RDS2signalStrengthChart;
|
||||
QBarCategoryAxis* m_RDS2signalStrengthChartXAxis;
|
||||
QValueAxis* m_RDS2signalStrengthChartYAxis;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
Reference in New Issue
Block a user