更新遥控器画面

This commit is contained in:
2025-10-10 17:44:10 +08:00
parent faf921afc7
commit 945dadc8e8
86 changed files with 14150 additions and 2607 deletions

View File

@@ -65,9 +65,10 @@ private slots:
void UIRefreshTimeOut();
void CursorScanTimerOut();
void onOpcStateChanged(QOpcUaClient::ClientState state);
void on_But_Close_clicked();
// 页面切换槽函数
void on_But_Close_clicked();
void on_But_Page_0_clicked();
void on_But_Page_1_clicked();
void on_But_Page_2_clicked();
@@ -92,13 +93,15 @@ private:
void setVoiceGeometry(const QRect &g);
void startGeometryAnim(const QRect &start, const QRect &end, int dur);
bool m_realShow = false;
Ui::P00_PublicPage *ui;
QScrollBar* hScroll;
QLabel *m_cursorLabel = nullptr; // 自绘光标
OpcUaManager *m_opcManager; // OPC通信实例
DataCenter *m_dataCenter; // 数据中心
QString m_currentNodeId; // 当前操作节点ID
QTextToSpeech *tts; // 文本转语音
QTimer *UIRefresh_Timer; // UI刷新定时器
QTimer *CursorScan_Timer; // 光标扫描定时器
bool PLC_Started; // PLC运行状态标志