Other

Building an OPC UA client plugin for DATAREON Platform in C#

Habr C# (ru) SergeySkirdin (ИТ-интегратор Белый код)
Other

This guide walks through a C# plugin that adds an OPC UA connector to DATAREON Platform: adapter lifecycle, configuration snapshots, DataChange subscriptions and batching. A concrete plugin case study for .NET developers working on industrial integrations.

Key points

  • The plugin targets net6.0 and was tested on .NET 6.0.36 x64.
  • The factory implements four SDK interfaces and funnels into one private Create method.
  • Start is guarded by a lock and launches five parallel background tasks.
  • Settings arrive as a full snapshot written to disk, validated by version hash and UTC time.
  • Default queue holds 10,000 values; a batch ships at 500 values or one second.
  • Passwords never reach the database or logs; they come from IAuthenticator.

Real-world use

  • An integration that collects meter, status and measurement data from shop-floor OPC UA servers and routes it into systems such as 1C
  • Running one plugin against two OPC UA servers as two separate DATAREON systems
  • An adapter that keeps its last snapshot on disk so configuration survives a plugin upgrade

This summary was generated by the agent from the original post on Habr C# (ru). The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message