Procházet zdrojové kódy

extended UABaseNode.ts

DS před 1 rokem
rodič
revize
1390af850f
1 změnil soubory, kde provedl 17 přidání a 0 odebrání
  1. 17 0
      src/ua/UABaseNode.ts

+ 17 - 0
src/ua/UABaseNode.ts

@@ -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[]) {
     }