oambtsparam.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef OAMBTSPARAM_H
  2. #define OAMBTSPARAM_H
  3. #include <QDialog>
  4. #include "pspublic.h"
  5. #include "includes.h"
  6. #define ORDER_BTS_ID 0x0601 // 基站ID,32bit
  7. #define ORDER_BTS_CARRIER_ID 0x0602 // 载波ID(1,2,3,4,5,6,7,8,9)
  8. #define ORDER_BTS_TIMESLOT 0x0603 // 信号发送时隙(1,2,3,4)
  9. #define ORDER_BTS_LOCATION_TYPE 0x0604 // 定位类型
  10. #define ORDER_BTS_TWO_BTS_NUM 0x0605 // 两基站定位数量
  11. #define ORDER_BTS_TWO_BTS_LIST 0x0606 // 两基站定位基站列表,以英文逗号分割
  12. class MainDlg;
  13. namespace Ui {
  14. class OamBtsParam;
  15. }
  16. class OamBtsParam : public QDialog
  17. {
  18. Q_OBJECT
  19. public:
  20. explicit OamBtsParam(QWidget *parent = nullptr);
  21. ~OamBtsParam();
  22. void showParam(LTV_T *pstData);
  23. quint32 GetBtsId();
  24. void updateUi();
  25. private:
  26. Ui::OamBtsParam *ui;
  27. MainDlg *m_pMainDlg;
  28. quint32 m_dwBtsId;//基站ID
  29. int m_dwDeviceType;//设备类型,0:声波基站,1:同步基站,2:同步中继
  30. void initUi();
  31. void selectAllItem();
  32. void selectAllNoItem();
  33. void clearAllItem();
  34. void switchBtnFlag(bool byFlag);
  35. void queryParam();
  36. void configParam();
  37. void uploadBtsBaseParamAdd();
  38. signals:
  39. void SignalSendQueryMsg(quint8 *pbyData, quint16 wLen);
  40. void SignalSendConfigMsg(quint8 *pbyData, quint16 wLen,quint16 wCmd);
  41. void SignalUploadBtsBaseParamAdd(QString strApi, QJsonObject jsonObject);
  42. };
  43. #endif // OAMBTSPARAM_H