Add ConnectionGroupId attribute to Tag class - #479
Open
jgorea wants to merge 1 commit into
Open
Conversation
…ctag/libplctag#312) to allow a process to open multiple independent connections/sessions to the same PLC. This attribute was not yet exposed by the high-level Tag class. This adds a nullable ConnectionGroupId property, following the same GetField/SetField pattern used by the other simple integer attributes (e.g. ElementCount), and wires it into the generated attribute string as connection_group_id.
Collaborator
|
Wow, didn't know about this - thanks. Are you able to raise a documentation bug on the libplctag repo so that it is documented there, then copy the explanation from the official repo in the xmldocs here. |
Author
|
Just raised this documentation bug: libplctag/libplctag#668 |
Collaborator
|
@jgorea looks like kyle has already updated the wiki: https://github.com/libplctag/libplctag/wiki/Tag-String-Attributes#optional-generic-attributes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
libplctag core added the connection_group_id tag attribute (see libplctag#312) to allow a process to open multiple independent connections/sessions to the same PLC. This attribute was not yet exposed by the high-level Tag class.
This adds a nullable ConnectionGroupId property, following the same GetField/SetField pattern used by the other simple integer attributes (e.g. ElementCount), and wires it into the generated attribute string as connection_group_id.