이 페이지에서

SimpleAttributeOperand QML Type

OPC UA의 SimpleAttributeOperand 유형. 더 보기...

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

이 유형은 QtOpcUa 6.9부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

속성

상세 설명

SimpleAttributeOperand는 OPC UA 1.05 파트 4, 7.7.4.5에 정의되어 있습니다. 이 연산자는 노드 속성이 연산자로 필요한 경우에 사용됩니다.

예를 들어, 다음의 단순 속성 피연산자는 기본 이벤트 유형의 "Severity" 필드의 값을 나타냅니다:

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    identifier: "Severity"
    ns: "http://opcfoundation.org/UA/"
}

속성 문서

browsePath : list<OpcUaNodeId>

해당 속성을 포함하는 노드까지의 탐색 경로.

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    browsePath: [
        QtOpcUa.NodeId {
            identifier: "Message"
            ns: "http://opcfoundation.org/UA/"
         }
         ...
    ]
}

indexRange : string

속성 값 중 단일 값이나 하위 집합을 식별하는 데 사용되는 인덱스 범위 문자열.

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    indexRange: "0:2"
}

nodeAttribute : Constants.NodeAttribute

browsePath 노드가 가리키는 속성입니다. 기본값은 Constants.NodeAttribute.Value 입니다.

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}

typeId : string

타입 정의 노드의 노드 ID입니다. 피연산자는 해당 타입이거나 그 하위 타입 중 하나가 됩니다. 기본값은 "ns=0;i=2041" 입니다.

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    ...
    typeId: "ns=0;i=2041"
}

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