SimpleAttributeOperand QML Type

OPC UA SimpleAttributeOperand 유형입니다. 더 보기...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13

속성

상세 설명

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"
}

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