feat: expose mapped raw and uns data through grpc adapters

This commit is contained in:
Joseph Doherty
2026-11-16 20:43:15 -05:00
parent 47960a6d57
commit 8ad03e9c5d
118 changed files with 12645 additions and 227 deletions
@@ -0,0 +1,17 @@
using Opc.Ua;
using ZB.MOM.WW.OtOpcUa.Commons.OpcUa;
namespace ZB.MOM.WW.OtOpcUa.OpcUaServer;
/// <summary>Resolves the currently bound SDK page sink without retaining a retired node manager.</summary>
public sealed class DeferredProjectedNamespacePageSink(DeferredAddressSpaceSink deferred) : IProjectedNamespacePageSink
{
public bool TryApply(NodeId parent, IReadOnlyList<ProjectedVariableDefinition> nodes, Func<bool> commit) =>
deferred.GetCapability<IProjectedNamespacePageSink>()?.TryApply(parent, nodes, commit) ?? false;
public bool TryApplyRootLeaf(NodeId anchorId, ProjectedVariableDefinition rootDefinition, Func<bool> commit) =>
deferred.GetCapability<IProjectedNamespacePageSink>()?.TryApplyRootLeaf(anchorId, rootDefinition, commit) ?? false;
public bool TryRemove(NodeId nodeId, ProjectedVariableDefinition expected) =>
deferred.GetCapability<IProjectedNamespacePageSink>()?.TryRemove(nodeId, expected) ?? false;
}