File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
src/main/java/com/digitalpetri/opcua/server/namespace/demo Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 2727import org .eclipse .milo .opcua .stack .core .NodeIds ;
2828import org .eclipse .milo .opcua .stack .core .types .builtin .ByteString ;
2929import org .eclipse .milo .opcua .stack .core .types .builtin .DateTime ;
30+ import org .eclipse .milo .opcua .stack .core .types .builtin .ExpandedNodeId ;
3031import org .eclipse .milo .opcua .stack .core .types .builtin .LocalizedText ;
3132import org .eclipse .milo .opcua .stack .core .types .builtin .NodeId ;
3233import org .eclipse .milo .opcua .stack .core .types .builtin .QualifiedName ;
@@ -260,6 +261,25 @@ public DemoFragment(
260261 NodeIds .Organizes ,
261262 NodeIds .ObjectsFolder .expanded (),
262263 Direction .INVERSE ));
264+
265+ demoFolder .addReference (
266+ new Reference (
267+ demoFolder .getNodeId (),
268+ NodeIds .HasComponent ,
269+ ExpandedNodeId .parse ("ns=2;s=CTT.Static.AllProfiles.Scalar" ),
270+ Direction .FORWARD ));
271+ demoFolder .addReference (
272+ new Reference (
273+ demoFolder .getNodeId (),
274+ NodeIds .HasComponent ,
275+ ExpandedNodeId .parse ("ns=2;s=CTT.Static.AllProfiles.Array" ),
276+ Direction .FORWARD ));
277+ demoFolder .addReference (
278+ new Reference (
279+ demoFolder .getNodeId (),
280+ NodeIds .HasComponent ,
281+ ExpandedNodeId .parse ("ns=2;s=CTT.Static.AllProfiles.Matrix" ),
282+ Direction .FORWARD ));
263283 });
264284 }
265285
You can’t perform that action at this time.
0 commit comments