|
@@ -7,7 +7,7 @@ import {
|
|
} from "node-opcua";
|
|
} from "node-opcua";
|
|
import { nodesets, constructNodesetFilename } from "node-opcua-nodesets";
|
|
import { nodesets, constructNodesetFilename } from "node-opcua-nodesets";
|
|
import { generateAddressSpace } from "node-opcua-address-space/nodeJS.js";
|
|
import { generateAddressSpace } from "node-opcua-address-space/nodeJS.js";
|
|
-import { AddressSpace, RootFolder, UAAnalogItem, UAObject, UAObjectType } from "node-opcua-address-space";
|
|
|
|
|
|
+import { AddressSpace, RootFolder, UAAnalogItem, UAObject, UAObjectType, UAVariable } from "node-opcua-address-space";
|
|
|
|
|
|
class Main {
|
|
class Main {
|
|
server: OPCUAServer;
|
|
server: OPCUAServer;
|
|
@@ -35,6 +35,7 @@ class Main {
|
|
]
|
|
]
|
|
});
|
|
});
|
|
await this.server.initialize();
|
|
await this.server.initialize();
|
|
|
|
+ let node =this.server.engine.addressSpace.findNode("ns=1;i=6003");
|
|
}
|
|
}
|
|
|
|
|
|
async start() {
|
|
async start() {
|