可以把 QML 类型导入应用程序,使用以下 import 语句在 .qml 文件:
import QtOpcUa 5.12 as QtOpcUa
要链接到模块,添加以下 QT 变量到 qmake .pro 文件:
QT += opcua
OPC UA ApplicationDescription | |
OPC UA AttributeOperand type | |
OPC UA authentication information | |
Connects to a server | |
OPC UA ElementOperand type | |
OPC UA EndpointDescription | |
Provides information about available endpoints on a server | |
Defines an EventFilter for a monitored item | |
OPC UA ContentFilterElement | |
OPC UA LiteralOperand type | |
Contains a text with associated locale | |
Arguments for OpcUa method calls | |
Calls a method on the server | |
Represents a node on a server | |
Specifies a node by an identifier | |
Specifies an item to be read from the server | |
Contains result data after reading from the server | |
Specifies a relative node by a start node and a path | |
Specifies a relative node path element | |
Provides information about available servers | |
OPC UA SimpleAttributeOperand type | |
Code of an OPC UA function | |
OPC UA ApplicationDescription | |
Represents a value node from a server | |
Specifies an item to be written to the server | |
Contains result data after writing to the server |