Files
EJM_Display/GlobalDefinitions/Variable.cpp
2025-08-20 23:06:28 +08:00

27 lines
651 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include <GlobalDefinitions/Variable.h>
QRect DisplayInfo;
/** @brief 节点ID列表用于循环 */
QStringList gOPC_NodeList;
/** @brief 节点ID → 节点名称 */
QMap<QString, QString> gOPC_NodeName;
/** @brief 节点ID → 最新值 */
QMap<QString, QVariant> gOPC_NodeValue;
/** @brief 节点ID → 变量名 */
QMap<QString, QString> gOPC_VarName;
/** @brief 节点ID → 数据库表名 */
QMap<QString, QString> gOPC_SqlTable;
/** @brief 节点ID → 数据库字段名 */
QMap<QString, QString> gOPC_SqlField;
/** @brief 全局光标 */
CursorController *gCursor;
/** @brief PLC是否启动成功 */
bool PLC_Started = false;