OPCFoundation.NetStandard.Opc.Ua.AMB.Server
2.0.1
Prefix Reserved
dotnet add package OPCFoundation.NetStandard.Opc.Ua.AMB.Server --version 2.0.1
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.AMB.Server -Version 2.0.1
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.AMB.Server" Version="2.0.1" />
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.AMB.Server" Version="2.0.1" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.AMB.Server" />
paket add OPCFoundation.NetStandard.Opc.Ua.AMB.Server --version 2.0.1
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.AMB.Server, 2.0.1"
#:package OPCFoundation.NetStandard.Opc.Ua.AMB.Server@2.0.1
#addin nuget:?package=OPCFoundation.NetStandard.Opc.Ua.AMB.Server&version=2.0.1
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.AMB.Server&version=2.0.1
Opc.Ua.AMB.Server
Server hosting for OPC 10000-110 — Asset Management Basics (AMB).
The Asset Management Basics node manager is a sidecar: it loads the AMB model
next to whatever node manager owns the Device Integration address space
(AddOpcUaDi, Machinery, Pumps, Scales) and serves the assets those managers
register with the shared IAssetManagement registry.
services.AddOpcUa()
.AddServer<StandardServer>(ConfigureServer)
.AddOpcUaDi()
.AddAssetManagement(options => options.UseFileSystemStores("amb-state"))
.ConfigureDevicesFor<DiNodeManager>(async context =>
{
IDeviceBuilder<DeviceState> device = await context.CreateDeviceAsync(
new QualifiedName("Sensor_1", context.Manager.InstanceNamespaceIndex));
device.WithIdentification(i => i.ProductInstanceUri = "urn:acme:sensor:4711");
await device.RegisterAsAssetAsync(
context.GetRequiredService<IAssetManagement>(),
asset => asset.WithConfigurableAssetId(),
context.CancellationToken);
});
Registering an asset checks its identification (a non-empty
ProductInstanceUri, on the asset or in its Identification group).
WithConfigurableAssetId makes AssetId writable for clients and persists
what they write through the IAssetConfigurationStore
(MemoryAssetConfigurationStore or FileSystemAssetConfigurationStore).
Every asset is listed in the alias categories AssetsByProductInstanceUri and
- when it has a
2:AssetId-AssetsByAssetIdbelow0:Aliases/Assets, so clients discover it withFindAlias(OPC 10000-17); an asset whoseAssetIdis empty is listed asNoAssetIdAssigned, and writing theAssetIdmoves it. Assets that share a name share its alias object. The categories keep theirNodeVersioncurrent and announce changes with aGeneralModelChangeEvent.
WithDeviceHealth gives an asset the OPC 10000-100 DeviceHealth, set by the
application or derived from the active alarms; an asset with health alarms gets
it in any case, following the alarms. WithHealthAlarm adds an
OPC 10000-100 health alarm with the asset as its source, an AMB condition class
and the PotentialRootCauses of IRootCauseIndicationType; by default the
alarm is an instance of a server-specific subtype of the Device Integration
alarm type that implements the interface. The application drives it through
IAssetHandle.Health (RaiseAsync with a severity of Table 15, ClearAsync).
WithMaintenance adds a current or future maintenance activity: a condition
that implements IMaintenanceEventType, carries a maintenance condition class
and the optional details (planned date, estimated downtime, supplier, parts,
method), and moves through the MaintenanceEventStateMachineType
(StartAsync, FinishAsync, ReplanAsync for recurring activities). Every
transition and update is reported as an event. Health alarms and maintenance
activities are created while the node manager that owns the asset builds its
address space, so register such assets from its setup (ConfigureDevicesFor,
an IMachineryConfigurator, ConfigurePumps, ConfigureScales).
WithDocumentationLinks adds the DocumentationLinks AddIn with links of the
manufacturer, links users can change, and - with AllowUserLinks - the
AddLink and RemoveLink methods, which need a persistent store (§10.5.3).
What users change or add is persisted in the IAssetConfigurationStore and
comes back after a restart with the same NodeIds; AmbServerOptions.AuthorizeLinkEdit decides who may change links
(by default every authenticated user, no anonymous one).
WithVersionInformation sets the hardware and software revisions and the
RevisionCounter (IAssetHandle.IncrementRevisionCounterAsync). LocatedIn
puts the asset into a location below HierarchicalLocations or
OperationalLocations, with the *Contains reference in both directions;
WithLocation and WithLocalTime add the location Properties and
0:LocalTime, optionally writable and persisted. ClassifiedAs,
WithRequirements and WithCapabilities add dictionary references and the
two folders, RelatesTo sub-assets and relations to other assets. The
conformance units of these sections are evaluated from what the assets
publish, whoever added it.
The manager advertises the AMB conformance units the registered assets meet, and the AMB Base Asset Management Server Facet exactly when its mandatory unit, AMB Asset Identification, is met. Registering or unregistering an asset publishes them again, so a unit the assets no longer meet is withdrawn.
Target frameworks
net48, net8.0, net9.0, net10.0
| 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.12)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Bcl.TimeProvider (>= 10.0.12)
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.12)
- OPCFoundation.NetStandard.Opc.Ua.AMB (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di.Server (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 2.0.1)
- System.Buffers (>= 4.6.1)
- System.Collections.Immutable (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.12)
- System.Formats.Asn1 (>= 10.0.12)
- System.Memory (>= 4.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
- System.Text.Json (>= 10.0.12)
- System.Threading.Channels (>= 10.0.12)
- System.Threading.RateLimiting (>= 10.0.12)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
net10.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.12)
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.12)
- OPCFoundation.NetStandard.Opc.Ua.AMB (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di.Server (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 2.0.1)
- System.Threading.RateLimiting (>= 10.0.12)
-
net8.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.12)
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.12)
- OPCFoundation.NetStandard.Opc.Ua.AMB (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di.Server (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 2.0.1)
- System.Collections.Immutable (>= 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.12)
- System.Formats.Asn1 (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
- System.Threading.Channels (>= 10.0.12)
- System.Threading.RateLimiting (>= 10.0.12)
-
net9.0
- BitFaster.Caching (>= 2.6.1)
- Microsoft.Bcl.TimeProvider (>= 10.0.12)
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.12)
- OPCFoundation.NetStandard.Opc.Ua.AMB (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Di.Server (>= 2.0.1)
- OPCFoundation.NetStandard.Opc.Ua.Server (>= 2.0.1)
- System.Diagnostics.DiagnosticSource (>= 10.0.12)
- System.Formats.Asn1 (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
- System.Threading.Channels (>= 10.0.12)
- System.Threading.RateLimiting (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.