Skip to content

Conversation

@CraigMarkwardt
Copy link

This patch passes the ModBus unit number onward to deeper Request classes. The functionality already exists in the Request classes, so I added function to the remote classes to pass this information onward.

:param unit:
'''
self._client = client
self.kwargs = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could directly create and use a class member self.unit=unit instead of this and use it directly where required. in that case default value of unit should 0 and not None

@dhoomakethu
Copy link
Contributor

dhoomakethu commented Aug 23, 2017

@CBGoodBuddy please change the destination branch to riptideio:dev from riptideio:master

@dhoomakethu dhoomakethu mentioned this pull request Aug 24, 2017
21 tasks
@dhoomakethu
Copy link
Contributor

will be addressed with commit 50cd952

wexi pushed a commit to wexi/pymodbus that referenced this pull request Dec 1, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants