OPCFoundation.NetStandard.Opc.Ua.GMS.Client
2.0.2
Prefix Reserved
dotnet add package OPCFoundation.NetStandard.Opc.Ua.GMS.Client --version 2.0.2
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.GMS.Client -Version 2.0.2
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.GMS.Client" Version="2.0.2" />
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.GMS.Client" Version="2.0.2" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.GMS.Client" />
paket add OPCFoundation.NetStandard.Opc.Ua.GMS.Client --version 2.0.2
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.GMS.Client, 2.0.2"
#:package OPCFoundation.NetStandard.Opc.Ua.GMS.Client@2.0.2
#addin nuget:?package=OPCFoundation.NetStandard.Opc.Ua.GMS.Client&version=2.0.2
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.GMS.Client&version=2.0.2
OPC UA Geometric Measurement Systems client
Typed, bounded discovery, equipment/qualification/calibration, production, result and observation workflows for released OPC 40210. Generated GMS proxies reuse MachineTool/Machinery clients with no server-runtime dependency or duplicate subscription/file protocol.
System workflows
using Opc.Ua.GMS.Client;
await using GmsClient gms = session.CreateGmsClient(telemetry);
var systems = await gms.DiscoverAsync(cancellationToken);
var state = await gms.ReadSnapshotAsync(gmsNodeId, cancellationToken);
var equipment = await gms.ReadEquipmentAsync(gmsNodeId, cancellationToken);
var calibration = await gms.ReadCalibrationAsync(gmsNodeId, cancellationToken);
var production = await gms.ReadProductionAsync(gmsNodeId, cancellationToken);
AddGmsClient registers IGmsClientFactory on the existing client builder.
Factory-created and directly constructed facades borrow their sessions.
The application or DI container retains session ownership; disposing a facade
drains its own workflows without closing or disposing the shared session.
GetProxy exposes advanced generated operations.
Discovery recognizes vendor subtypes and releases continuation points. Reads retain identity, optional presence and numeric types, rejecting overflow rather than truncating a claimed complete result. Separate reads are not atomic equipment history. Bounded data/events/condition observations do not execute measurements, calibrate, start GMS jobs or change corrections.
Result metadata handles and download streams belong to the calling session and are released on success, failure and cancellation. Domain result codes remain distinct from UA service failures. Missing optional variables are not replaced with successful zero-valued measurements; raw data quality and acquisition timestamps are retained.
Use gms.GetResults(gmsNodeId) on that same session, or construct the result
workflow directly as below.
Result workflows
using Opc.Ua;
using Opc.Ua.GMS.Client;
using Opc.Ua.GMS.Contracts;
using Opc.Ua.Machinery.Result;
var results = new GmsResultClient(session, gmsNodeId, telemetry,
new GmsResultLimits
{
MaximumResults = 32,
MaximumMetadataBytes = 256 * 1024,
MaximumFileBytes = 8 * 1024 * 1024
});
ResultDataType latest = await results.GetLatestAsync(cancellationToken);
ArrayOf<string> identifiers = await results.QueryAsync(
maximumResults: 16, cancellationToken: cancellationToken);
await results.DownloadAsync(latest.ResultMetaData!.ResultId!, destination,
cancellationToken);
ArrayOf<GmsCorrectionValues> corrections =
await results.ReadCorrectionsAsync(cancellationToken);
QueryAsync accepts the standard Machinery ContentFilter and ordered
RelativePath list. It does not introduce another filtering language.
GetLatestAsync, GetByIdAsync, QueryAsync, and both download overloads
release their own metadata handles before completing. Downloading uses the
shared TemporaryFileTransferClient and asynchronously disposes its file stream
on success, overflow, destination failure or cancellation. The caller still owns
the destination stream; on failure it may contain a partial prefix.
GmsResultDomainException preserves a nonzero method domain code separately
from ServiceResultException (UA service/operation failure) and
OperationCanceledException. An error in both the operation and metadata
cleanup is reported as an AggregateException containing both failures.
ReadPublishedResultsAsync and ReadCorrectionsAsync retain raw DataValue
quality and timestamps. A null ArrayOf<T> means an optional folder is absent;
an empty non-null array means the folder exists but has no entries. An absent
optional property is DataValue.Null; bad or uncertain acquired data remains a
present sample with its original quality.
Intermediate results and dependency injection
CreateIntermediateResultFilter extends the generated event filter with
explicit, server-qualified characteristic placeholder names.
DecodeIntermediateResultAsync verifies the concrete event subtype and decodes
the generated standard record plus those characteristic fields.
ObserveIntermediateResultsAsync composes an existing IStreamingSubscription
with bounded event count, queue size and response bytes. Its enumerator removes
only its monitored item; the caller retains ownership of the shared subscription.
The readiness-callback overload verifies actual server-side creation before
signaling readiness. Failed setup is not a successful empty observation.
Event fields are Variant values, not acquisition DataValue samples. The
client does not manufacture per-field quality or timestamps that the event
protocol did not transmit. For raw acquired result quality, read the result
variables.
Use AddGmsResultsClient() on the existing IOpcUaClientBuilder to register
IGmsResultClientFactory. Its CreateAsync(gmsNodeId, cancellationToken) method
uses the already-configured managed session. Direct construction and an
injectable GmsResultClientFactory session accessor remain available.
A successful result read is not proof that the remote endpoint implements every GMS facet. The complete Production facet remains withheld for the documented upstream undefined statistics CU.
See the GMS guide for full-system workflows and conformance boundaries.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- BitFaster.Caching (>= 2.6.1)
- BouncyCastle.Cryptography (>= 2.7.0)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.13)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Bcl.TimeProvider (>= 10.0.13)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.11.0)
- Microsoft.Extensions.Configuration (>= 10.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Http (>= 10.0.13)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.Logging (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Microsoft.Extensions.Telemetry (>= 10.11.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.11.0)
- OPCFoundation.NetStandard.Opc.Ua.GMS (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.Machinery.Client (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.MachineTool.Client (>= 2.0.2)
- System.Buffers (>= 4.6.1)
- System.Collections.Immutable (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.13)
- System.Formats.Asn1 (>= 10.0.13)
- System.Memory (>= 4.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Text.Json (>= 10.0.13)
- System.Threading.Channels (>= 10.0.13)
- System.Threading.RateLimiting (>= 10.0.13)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
net10.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.13)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.11.0)
- Microsoft.Extensions.Configuration (>= 10.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Http (>= 10.0.13)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.Logging (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Microsoft.Extensions.Telemetry (>= 10.11.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.11.0)
- OPCFoundation.NetStandard.Opc.Ua.GMS (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.Machinery.Client (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.MachineTool.Client (>= 2.0.2)
- System.Threading.RateLimiting (>= 10.0.13)
-
net8.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.13)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.11.0)
- Microsoft.Extensions.Configuration (>= 10.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Http (>= 10.0.13)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.Logging (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Microsoft.Extensions.Telemetry (>= 10.11.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.11.0)
- OPCFoundation.NetStandard.Opc.Ua.GMS (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.Machinery.Client (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.MachineTool.Client (>= 2.0.2)
- System.Collections.Immutable (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.13)
- System.Formats.Asn1 (>= 10.0.13)
- System.Text.Json (>= 10.0.13)
- System.Threading.Channels (>= 10.0.13)
- System.Threading.RateLimiting (>= 10.0.13)
-
net9.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.13)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.11.0)
- Microsoft.Extensions.Configuration (>= 10.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection (>= 10.0.13)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Diagnostics (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Http (>= 10.0.13)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.Logging (>= 10.0.13)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Options (>= 10.0.13)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.13)
- Microsoft.Extensions.Telemetry (>= 10.11.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.11.0)
- OPCFoundation.NetStandard.Opc.Ua.GMS (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.Machinery.Client (>= 2.0.2)
- OPCFoundation.NetStandard.Opc.Ua.MachineTool.Client (>= 2.0.2)
- System.Diagnostics.DiagnosticSource (>= 10.0.13)
- System.Formats.Asn1 (>= 10.0.13)
- System.Text.Json (>= 10.0.13)
- System.Threading.Channels (>= 10.0.13)
- System.Threading.RateLimiting (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OPCFoundation.NetStandard.Opc.Ua.GMS.Client:
| Package | Downloads |
|---|---|
|
OPCFoundation.NetStandard.Opc.Ua.Mcp.GMS
OPC 40210 Geometric Measurement Systems MCP tools for bounded native inventory, monitoring, results, downloads and explicit result acknowledgement over shared OPC UA sessions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.2 | 102 | 11/11/2026 |