이 페이지에서

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.