refactor(opcuaclient): move NamespaceMap to Contracts, make public
Browser project (Phase 3) needs to share namespace-stable address encoding with the runtime driver. Move keeps the same namespace, so existing usages in OpcUaClientDriver compile unchanged.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ namespace ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient;
|
|||||||
/// direct parse against the current session.
|
/// direct parse against the current session.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
internal sealed class NamespaceMap
|
public sealed class NamespaceMap
|
||||||
{
|
{
|
||||||
// index -> URI and URI -> index, as the upstream server published them at connect time.
|
// index -> URI and URI -> index, as the upstream server published them at connect time.
|
||||||
private readonly string[] _uris;
|
private readonly string[] _uris;
|
||||||
+3
-1
@@ -5,5 +5,7 @@
|
|||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- NO PackageReference. NO ProjectReference. -->
|
<ItemGroup>
|
||||||
|
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Client" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user