opcuaserver回退修改

This commit is contained in:
Diego
2025-07-08 15:52:12 +08:00
parent fe79128d90
commit 044e78bea9
2 changed files with 3 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<PluginVersion>10.9.26</PluginVersion>
<PluginVersion>10.9.27</PluginVersion>
<ProPluginVersion>10.9.26</ProPluginVersion>
<DefaultVersion>10.9.26</DefaultVersion>
<DefaultVersion>10.9.27</DefaultVersion>
<AuthenticationVersion>2.9.13</AuthenticationVersion>
<SourceGeneratorVersion>10.9.13</SourceGeneratorVersion>
<NET8Version>8.0.17</NET8Version>

View File

@@ -95,12 +95,9 @@ public class ThingsGatewayNodeManager : CustomNodeManager2
fs.EventNotifier = EventNotifiers.SubscribeToEvents;
if (item?.Any() == true)
{
FolderState varFolder = CreateFolder(fs, "Variables", "Variables");
varFolder.AddReference(ReferenceTypes.Organizes, true, ObjectIds.ObjectsFolder);
varFolder.EventNotifier = EventNotifiers.SubscribeToEvents;
foreach (var item2 in item)
{
CreateVariable(varFolder, item2);
CreateVariable(fs, item2);
}
}
}