OPCFoundation.NetStandard.Opc.Ua.LADS.Server 2.0.2

Prefix Reserved
dotnet add package OPCFoundation.NetStandard.Opc.Ua.LADS.Server --version 2.0.2
                    
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.LADS.Server -Version 2.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.LADS.Server" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.LADS.Server" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.LADS.Server" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OPCFoundation.NetStandard.Opc.Ua.LADS.Server --version 2.0.2
                    
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.LADS.Server, 2.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OPCFoundation.NetStandard.Opc.Ua.LADS.Server@2.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OPCFoundation.NetStandard.Opc.Ua.LADS.Server&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.LADS.Server&version=2.0.2
                    
Install as a Cake Tool

OPC UA LADS server hosting

OPCFoundation.NetStandard.Opc.Ua.LADS.Server hosts OPC 30500-1 laboratory and analytical devices on the Machinery node manager. It builds devices, functional units and functions with a fluent API, runs the LADS state machines, executes programs and keeps their results. Providers connect the devices to hardware.

services.AddOpcUa()
    .AddServer<StandardServer>(server => { /* endpoints, security */ })
    .AddLads()
    .ConfigureLads(context => context.AddDevice("Incubator", device => device
        .Identification(id => id.SerialNumber = "SN-0001")
        .FunctionalUnit("Chamber", unit => unit
            .AnalogControl("Temperature", t => t.InitialTargetValue = 37)
            .AnalogScalarSensor("CO2", s => s.EngineeringUnits = LadsUnits.Percent))));

AddLads registers a Machinery node manager, the Asset Management sidecar and the LADS model. When the server already hosts Machinery, use AddLadsToMachinery instead so LADS shares the existing DeviceSet:

services.AddOpcUa()
    .AddServer<StandardServer>(server => { })
    .AddMachinery(options => options.Parts = MachineryParts.BuildingBlocks)
    .AddLadsToMachinery()
    .ConfigureLads(context => { /* devices */ });

Each device is a LADSDeviceType instance below the DI DeviceSet, organized from the Machinery Machines folder. Without dependency injection, LadsSetup.ConfigureAsync composes devices into the build context of a Machinery node manager.

What a device supports

  • The device, operation mode, functional unit, control function, cover and maintenance task state machines, with their methods bound.
  • Analog, multi-mode, discrete and timer control functions; scalar, array, discrete and multi sensors; covers.
  • Program templates, program runs with steps and setpoints, results with variables and result files that clients read through FileType.
  • MachineryItemState derived from the device and functional unit states.
  • Run-time handles that update sensor and control values and drive the state machines from application code.

Providers

Locking() opts a device into DI session ownership for UA writes and method calls throughout its subtree, including AMB configuration and result-file methods. Other sessions can still read values and browse. Use Locking(ILockActivityService) to supply the shared DI service directly, or register that interface before AddLads. Omitting the option preserves legacy behavior. Direct application handles remain trusted; releasing a DI lock does not stop an executing physical program.

ILadsDeviceProvider and ILadsFunctionProvider can veto a transition or execute it against hardware. An ILadsProgramExecutor receives a LadsProgramRun that reports steps, applies setpoints and adds result variables and files. In-memory providers are registered by default, so a device works without hardware.

RunningOperations() opts a functional unit into Hold/Unhold, Suspend/Unsuspend, orderly completion and Complete-to-Reset. The executor must implement ILadsControlledProgramExecutor and acknowledge equipment operations before the corresponding stable state is published. The default executor pauses processing checkpoints and delays; an existing executor that implements only ILadsProgramExecutor retains its original contract.

LadsServerOptions limits the result file size and the number of retained results. Its Store option accepts an injectable ILadsStore. FileSystemLadsStore retains templates, completed results and file bytes, maintenance records and counters across process restarts. Completed results and their files are saved before publication; storage errors are reported without substituting a memory provider. Interrupted execution is recorded but never resumed.

See the LADS guide.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 88 11/11/2026