Closed jojoguy10 closed 7 months ago
Currently no way to do that, but I'm sure something can be added. I'll look into it when I get time.
With version 2.2.0 you can access the Comments
collection for any Tag
. With this you can add/remove/update Comment
objects as needed, including bit members.
var tag = new Tag("Test", 100);
tag.Comments = new LogixContainer<Comment>
{
new(".1", "This is the comment"),
new(".2", "this is another comment")
};
tag.Comments.Add(new Comment(".3", "This is an added comment"));
Also, setting Description
will still update the corresponding comment for nested tag member objects, as it did before. We just don't have access to bit members as nested tag members.
I have a tag that's an INT and I wanted to know if there was already an implementation where I can add descriptions to the individual bits (in the
Comment
element)