このページでは

LiteralOperand QML Type

OPC UA の LiteralOperand 型。詳細...

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

この型は QtOpcUa 6.9 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

LiteralOperand は、OPC UA 1.05 第 4 部 7.7.4.3 に定義されています。これには、フィルタのオペランドとして使用されるリテラル値が含まれます。

サーバー側で想定されている型に合わせて型を設定する必要があります。そうしないと、型が推測され、サーバー側の型と一致しないためにエラーが発生する可能性があります。

import QtOpcUa as QtOpcUa

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

プロパティのドキュメント

type : QOpcUa.Types

リテラルオペランドの値の型。

value : variant

リテラルオペランドの値。

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