QOpcUaEUInformation Class
OPC UA EURange型。詳細...
ヘッダ | #include <QOpcUaEUInformation> |
CMakeの | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
パブリック関数
QOpcUaEUInformation() | |
QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description) | |
QOpcUaEUInformation(const QOpcUaEUInformation &rhs) | |
QOpcUaLocalizedText | description() const |
QOpcUaLocalizedText | displayName() const |
QString | namespaceUri() const |
void | setDescription(const QOpcUaLocalizedText &description) |
void | setDisplayName(const QOpcUaLocalizedText &displayName) |
void | setNamespaceUri(const QString &namespaceUri) |
void | setUnitId(qint32 unitId) |
qint32 | unitId() const |
QVariant | operator QVariant() const |
QOpcUaEUInformation & | operator=(const QOpcUaEUInformation &rhs) |
bool | operator==(const QOpcUaEUInformation &rhs) const |
詳細説明
これは、OPC UA 1.05 part 8の5.6.3で定義されているOPC UA EUInformation型のQt OPC UA 。EUInformationの値は、単位に関する情報を含み、主に数値属性を持つノードのプロパティとして使用される。この情報は、例えば、GUI要素にテキストやツールチップを追加するために使用することができます。
メンバ関数ドキュメント
QOpcUaEUInformation::QOpcUaEUInformation()
Defaultは、パラメータが設定されていないEU情報を構築する。
QOpcUaEUInformation::QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description)
名前空間 URInamespaceUri 、ユニット IDunitId 、表示名displayName 、説明description を持つ EUinformation を構築する。
QOpcUaEUInformation::QOpcUaEUInformation(const QOpcUaEUInformation &rhs)
rhs から EUinformation を構築する。
QOpcUaLocalizedText QOpcUaEUInformation::description() const
摂氏度などの単位の説明を返します。
setDescription()も参照 。
QOpcUaLocalizedText QOpcUaEUInformation::displayName() const
単位の表示名を返す。
setDisplayName()も参照 。
QString QOpcUaEUInformation::namespaceUri() const
ユニットの名前空間 URI を返します。
setNamespaceUri()も参照してください 。
void QOpcUaEUInformation::setDescription(const QOpcUaLocalizedText &description)
ユニットの説明をdescription に設定する。
description()も参照のこと 。
void QOpcUaEUInformation::setDisplayName(const QOpcUaLocalizedText &displayName)
ユニットの表示名をdisplayName に設定する。
displayName()も参照 。
void QOpcUaEUInformation::setNamespaceUri(const QString &namespaceUri)
ユニットの名前空間 URI をnamespaceUri に設定する。
namespaceUri()も参照 。
void QOpcUaEUInformation::setUnitId(qint32 unitId)
ユニットの機械可読識別子をunitId に設定する。
unitId()も参照のこと 。
qint32 QOpcUaEUInformation::unitId() const
ユニットの機械可読識別子を返す。
setUnitId()も参照 。
QVariant QOpcUaEUInformation::operator QVariant() const
このEU情報をQVariant に変換する。
QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)
この EU 情報にrhs の値を設定する。
bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const
このEU情報がrhs と同じ値を持つ場合、true
を返す。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.