From bbe2002b526c1a10d19aa876e7a1dff8e4091c90 Mon Sep 17 00:00:00 2001 From: Luis Cantero Date: Wed, 11 Sep 2024 14:15:26 +0200 Subject: [PATCH] Cosmetic --- src/CompanionSpecs/DI/DiNodeManager.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CompanionSpecs/DI/DiNodeManager.cs b/src/CompanionSpecs/DI/DiNodeManager.cs index 26ae2701..d62f831c 100644 --- a/src/CompanionSpecs/DI/DiNodeManager.cs +++ b/src/CompanionSpecs/DI/DiNodeManager.cs @@ -1,4 +1,4 @@ -namespace OpcPlc.CompanionSpecs.DI; +namespace OpcPlc.CompanionSpecs.DI; using Opc.Ua; using Opc.Ua.Server; @@ -37,7 +37,8 @@ protected override NodeStateCollection LoadPredefinedNodes(ISystemContext contex { // Application running as a snap uanodesPath = Path.Join(snapLocation, uanodesPath); - } + } + var predefinedNodes = new NodeStateCollection(); predefinedNodes.LoadFromBinaryResource(context, uanodesPath, // CopyToOutputDirectory -> PreserveNewest.