libplctag / libplctag.NET

A .NET wrapper for libplctag.
https://libplctag.github.io/
Mozilla Public License 2.0
194 stars 50 forks source link

Update to libplctag core v2.6.0 and expose new API `plc_tag_get_byte_array_attribute(...)` #376

Closed timyhac closed 3 weeks ago

timyhac commented 3 weeks ago

This is an exciting change that allows user code to respond to information the PLC knows about the data type of the tag.

Since this has feature has the potential to change how many users interact with libplctag, it warrants a discussion of how it should be exposed - but as a first step, the API can be exposed through NativeImport and through the Tag class, which does not significantly alter the semantics of the underlying API.

The feature has not yet been released in libplctag core, and I will not merge this PR until that has been done.