Skip to content

Huawai modbus rtu#2077

Merged
LKuemmel merged 6 commits intoopenWB:masterfrom
ndrsnhs:Huawai-Modbus-RTU
Dec 18, 2024
Merged

Huawai modbus rtu#2077
LKuemmel merged 6 commits intoopenWB:masterfrom
ndrsnhs:Huawai-Modbus-RTU

Conversation

@ndrsnhs
Copy link
Contributor

@ndrsnhs ndrsnhs commented Dec 17, 2024


def update(self, client: ModbusTcpClient_) -> None:
time.sleep(1)
if type == HuaweiType.SDongle:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if type == HuaweiType.SDongle:
if self.type == HuaweiType.SDongle:

Entsprechend auch an den anderen Stellen. Sonst greift er auf eine Python-Klasse namens type zu.

@LKuemmel LKuemmel added this to the 2.1.7 milestone Dec 17, 2024
@LKuemmel LKuemmel self-requested a review December 18, 2024 07:42
@ndrsnhs ndrsnhs closed this Dec 18, 2024
@ndrsnhs ndrsnhs reopened this Dec 18, 2024
@LKuemmel LKuemmel merged commit d778788 into openWB:master Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants