NodeId QML Type
Specifica un nodo tramite un identificatore. Altro...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Status: | Deprecated since 6.9 |
Questo tipo è deprecato a partire da QtOpcUa 6.9. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- identifier : string
- ns : string
Segnali
Descrizione dettagliata
import QtOpcUa as QtOpcUa
QtOpcUa.NodeId {
identifier: "s=Example.Node"
ns: "Example Namespace"
}Documentazione relativa all'immobile
identifier : string
Identificatore del nodo. L'identificatore deve essere specificato in uno dei seguenti tipi.
| Tipo | Esempio |
|---|---|
| Numerico | i=23 |
| Stringa | s=MyStringIdentifier |
| GUID | g=08081e75-8e5e-319b-954f-f3a7613dc29b |
| Opaco (base64) | b=UXQgZnR3IQ== |
È possibile, ma non consigliabile, includere l'indice dello spazio dei nomi ns=X;s=.... In questo caso, l'indice dello spazio dei nomi specificato viene rimosso internamente dall'identificatore e impostato nella proprietà dello spazio dei nomi.
ns : string
Spazio dei nomi dell'identificatore del nodo. L'identificatore può essere l'indice sotto forma di numero oppure il nome sotto forma di stringa. Una stringa convertibile in un numero intero è considerata un indice dello spazio dei nomi.
Documentazione sui segnali
nodeChanged()
Viene emesso quando il nodo sottostante è cambiato. Ciò avviene quando il namespace o l'identificatore sono cambiati.
Nota: il gestore corrispondente è onNodeChanged.
© 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.