|
@@ -1,5 +1,5 @@
|
|
|
import type { NamespaceTable } from "./NameSpaceTable";
|
|
|
-import { NodeId } from "./NodeId";
|
|
|
+import { coerceNodeId, NodeId } from "./NodeId";
|
|
|
import { UAReference } from "./UAReference";
|
|
|
import { assert } from "@/util/assert";
|
|
|
import { XMLElem, type IToXML } from "@/util/XmlElem";
|
|
@@ -56,7 +56,7 @@ export class UABaseNode implements IToXML{
|
|
|
for(const xmlref of xmlReferences.Reference) {
|
|
|
references.push(UAReference.fromXML(xmlref));
|
|
|
}
|
|
|
- const ua=new UABaseNode(NodeId.coerceNodeId(xmlObject['@_NodeId']), xmlObject['@_BrowseName'], xmlObject['DisplayName'], references);
|
|
|
+ const ua=new UABaseNode(coerceNodeId(xmlObject['@_NodeId']), xmlObject['@_BrowseName'], xmlObject['DisplayName'], references);
|
|
|
return ua;
|
|
|
}
|
|
|
|