IAddressSpace.ts 545 B

12345678910111213141516171819202122
  1. import type { NamespaceTable } from "./NameSpaceTable";
  2. import { UABaseNode } from "./UABaseNode";
  3. import type { UANodeSet } from "./UANodeSet";
  4. export interface IAddressSpace {
  5. nst: NamespaceTable
  6. nodesets: UANodeSet[];
  7. mapping: Map<string, IMappingValue>;
  8. getSubTreeAsList(nodeId: string): UABaseNode[];
  9. findNode(nodeId: string):UABaseNode|undefined;
  10. addNodeset(nodeset: UANodeSet):void;
  11. getNodeSets(): UANodeSet[];
  12. }
  13. export interface IMappingValue {
  14. path: string;
  15. read: string;
  16. write: string;
  17. }