LiteralOperand QML Type

Der OPC UA LiteralOperand Typ. Mehr...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13
Status: Deprecated since 6.9

Dieser Typ ist seit QtOpcUa 6.9 veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.

Eigenschaften

Detaillierte Beschreibung

Der LiteralOperand ist in OPC UA 1.05 Teil 4, 7.7.4.3 definiert. Er enthält einen literalen Wert, der als Operand für Filter verwendet werden soll.

Die Einstellung des Typs sollte so erfolgen, dass er mit den erwarteten Typen des Servers übereinstimmt. Andernfalls wird der Typ erraten und kann zu Fehlern führen, weil er auf dem Server nicht übereinstimmt.

import QtOpcUa as QtOpcUa

QtOpcUa.LiteralOperand {
    value: 43.21
    type: QtOpcUa.Constants.Double
}

Dokumentation der Eigenschaft

type : QOpcUa.Types

Typ des Wertes des literalen Operanden.


value : variant

Wert des literalen Operanden.


© 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.