|
@@ -3,11 +3,28 @@ import { coerceNodeId, NodeId } from "./NodeId";
|
|
|
import { UAReference } from "./UAReference";
|
|
|
import { assert } from "@/util/assert";
|
|
|
import { XMLElem, type IToXML } from "@/util/XmlElem";
|
|
|
+import { UARolePermission } from "./UARolePermission"; //TODO
|
|
|
+import { UAExtension } from "./UAExtension"; //TODO
|
|
|
+import { UAUserWriteMask } from "./UAUserWriteMask"; //TODO
|
|
|
+import { UAWriteMask } from "./UAWriteMask"; //TODO
|
|
|
+import { UAAccessRestriction } from "./UAAccessRestriction"; //TODO
|
|
|
|
|
|
export class UABaseNode implements IToXML{
|
|
|
constructor(public nodeId: NodeId,
|
|
|
public browseName: string,
|
|
|
public displayName: string,
|
|
|
+ public displayName: string, //LocText
|
|
|
+ public description: string, //LocText
|
|
|
+ public symbolicName: string, //SymbolicName
|
|
|
+ public releaseStatus: string, //ReleaseStatus
|
|
|
+ public hasNoPermissions: boolean,
|
|
|
+ public writeMask: UAWriteMask,
|
|
|
+ public userWriteMask: UAUserWriteMask,
|
|
|
+ public category: string,
|
|
|
+ public documentation: string,
|
|
|
+ public accessRestriction: UAAccessRestriction,
|
|
|
+ public rolePermissions: UARolePermission[],
|
|
|
+ public extensions: UAExtension[],
|
|
|
public references: UAReference[]) {
|
|
|
}
|
|
|
|