Skip to content

Simulator support for FLOAT64 type. - #3002

Merged
janiversen merged 3 commits into
pymodbus-dev:devfrom
pkubanek:fix/float64-simulator
Aug 21, 2026
Merged

Simulator support for FLOAT64 type.#3002
janiversen merged 3 commits into
pymodbus-dev:devfrom
pkubanek:fix/float64-simulator

Conversation

@pkubanek

Copy link
Copy Markdown
Contributor

Simulator handles FLOAT64 (8 byte float, double in C/Java/...) type. Refactored Simulator's CellType, changed setup.json.

@pkubanek
pkubanek force-pushed the fix/float64-simulator branch 23 times, most recently from 79ce557 to a482605 Compare August 20, 2026 23:43

@janiversen janiversen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The changes are ok, but CI (ubuntu 3.14) tells me that coverage have dropped to 98%, this is due to test missing for a single line:

Image

please correct that.

@janiversen

Copy link
Copy Markdown
Collaborator

You can test on your local branch with "pytest --cov".

@pkubanek
pkubanek force-pushed the fix/float64-simulator branch from c6f7308 to f0aaa72 Compare August 21, 2026 10:13
@pkubanek
pkubanek force-pushed the fix/float64-simulator branch from f0aaa72 to acb1b7c Compare August 21, 2026 10:18
@pkubanek
pkubanek requested a review from janiversen August 21, 2026 10:23
@pkubanek

Copy link
Copy Markdown
Contributor Author

Coverage fixed - I added tests for all supported CellType types and implemented methods.

@janiversen janiversen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, thanks.

@janiversen
janiversen merged commit b9c2341 into pymodbus-dev:dev Aug 21, 2026
16 checks passed
@janiversen

Copy link
Copy Markdown
Collaborator

Looking forward to see the INT64 Pr, please do not forget pull the new dev and update your branch.

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