이 페이지에서

Node QML Type

서버상의 노드를 나타냅니다. 더 보기...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12
Inherited By:

MethodNode and ValueNode

Status: Deprecated since 6.9

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

속성

방법

상세 설명

import QtOpcUa as QtOpcUa

QtOpcUa.Node {
    nodeId : QtOpcUa.NodeId {
        identifier: "s=Example.Method"
        ns: "Example Namespace"
    }
    connection: myConnection
}

부동산 관련 서류

Status : enumeration

노드의 상태.

상수설명
Node.Status.Valid노드가 사용 준비가 되었습니다
Node.Status.InvalidNodeId노드 ID가 유효하지 않음
Node.Status.NoConnection서버에 연결되지 않음
Node.Status.InvalidNodeType서버의 노드 유형이 QML 유형과 일치하지 않습니다
Node.Status.InvalidClient유효하지 않은 연결 클라이언트
Node.Status.FailedToResolveNode노드 확인에 실패했습니다
Node.Status.InvalidObjectNode객체 노드가 유효하지 않거나 유형이 예상된 유형과 일치하지 않습니다
Node.Status.FailedToReadAttributes속성 읽기에 실패했습니다
Node.Status.FailedToSetupMonitoring모니터링 설정에 실패했습니다

status 및 errorMessage도 참조하십시오 .

browseName : string

노드의 브라우즈 이름입니다. 해당 정보를 확인할 수 없는 경우 빈 문자열이 반환됩니다.

connection : Connection

노드 인스턴스에 사용할 연결입니다. 관련 연결이 서버와 연결을 설정하면 해당 노드에 자동으로 접근할 수 있게 됩니다.

이 속성이 설정되지 않은 경우, 기본 연결이 있는 경우 해당 연결이 사용됩니다.

Connection 및 Connection::defaultConnection도 참조하십시오 .

description : LocalizedText

노드에 대한 설명입니다. 해당 정보가 없는 경우, 기본값으로 생성된 LocalizedText 가 반환됩니다.

displayName : LocalizedText

노드의 현지화된 텍스트입니다. 해당 정보를 확인할 수 없는 경우, 기본값으로 생성된 LocalizedText 가 반환됩니다.

errorMessage : string [read-only]

현재 상태 코드의 문자열 표현.

status 및 Status도 참조하십시오 .

eventFilter : EventFilter

이벤트 필터를 사용하면 서버에서 특정 조건에 해당하는 이벤트를 모니터링할 수 있습니다.

EventFilter도 참조하십시오 .

nodeClass : QOpcUa::NodeClass [read-only]

노드의 노드 클래스입니다. 해당 정보를 확인할 수 없는 경우 QtOpcUa.Constants.NodeClass.Undefined 가 반환됩니다.

nodeId : NodeId

사용할 서버상의 노드 ID입니다. 절대 노드 ID이거나 상대 노드 ID일 수 있습니다.

NodeId 및 RelativeNodeId도 참조하십시오 .

readyToUse : bool [read-only]

이 속성은 노드가 사용 가능한 상태인지 여부를 반환합니다. 이는 서버에 성공적으로 연결되고 노드가 정상적으로 설정된 후 한 번 발생합니다.

status : Status [read-only]

노드의 현재 상태. 노드는 상태가 ‘ Valid ’일 때만 사용할 수 있습니다. 그 외의 모든 경우는 오류를 나타냅니다.

errorMessage 및 Status도 참조하십시오 .

메서드 문서

Date getServerTimestamp(Constants::NodeAttribute attribute)

지정된 ` attribute`의 서버 타임스탬프를 반환합니다.

Date getSourceTimestamp(QOpcUa::NodeAttribute attribute)

지정된 ` attribute`의 소스 타임스탬프를 반환합니다.

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