[abcip] AbCip — Descriptions to OPC UA Description #348
Reference in New Issue
Block a user
Delete Branch "auto/abcip/2.3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Wires AbCip tag descriptions all the way through to OPC UA
Description.Core.Abstractions/DriverAttributeInfo.cs—Description(string?, default null, trailing optional param). Back-compat for the 9 other drivers that name-constructDriverAttributeInfo.AbCipTagDefinition+AbCipStructureMember+L5kMembergainDescription.L5kParser.ParseMemberEntryreadsDescription :=from member attribute blocks.L5xParser.ReadMember/ReadAddOnInstructionparameter loop reads the<Description>child node (CDATA-aware, same shape as the existing tag-level handling).L5kIngestforwards both tag- and member-level descriptions into the producedAbCipTagDefinition/AbCipStructureMember.AbCipDriver.DiscoverAsync(UDT fan-out) and theToAttributeInfohelper for atomic tags populateDriverAttributeInfo.Description.DriverNodeManager.Variable(...)setsBaseDataVariableState.Descriptionfrom it. Null-safe — empty/null strings leave Description unset, preserving prior behaviour.Test plan
dotnet build src/ZB.MOM.WW.OtOpcUa.Driver.AbCip— clean (0 / 0)dotnet test tests/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Tests— 299 / 299 passed (5 new inAbCipDescriptionThreadingTests: L5K member-attr capture, L5X CDATA-wrapped member capture, L5kIngest tag+member threading, DiscoverAsync sets Description on atomic and UDT-memberDriverAttributeInfos)🤖 Auto-generated by the Mode-B execution loop. Closes #231.
Closes #231