aldas / modbus-tcp-client

PHP client for Modbus TCP and Modbus RTU over TCP (can be used for serial)
Apache License 2.0
196 stars 56 forks source link

Add support for `double` data type (64bit double precision floating p… #103

Closed aldas closed 2 years ago

aldas commented 2 years ago

Add support for double data type (64bit double precision floating point)

codecov[bot] commented 2 years ago

Codecov Report

Merging #103 (e402933) into master (4418c74) will decrease coverage by 0.01%. The diff coverage is 98.30%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #103      +/-   ##
============================================
- Coverage     98.91%   98.89%   -0.02%     
- Complexity      805      823      +18     
============================================
  Files            66       66              
  Lines          2021     2077      +56     
============================================
+ Hits           1999     2054      +55     
- Misses           22       23       +1     
Flag Coverage Δ
unittests 98.89% <98.30%> (-0.02%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Composer/Read/ReadCoilsBuilder.php 100.00% <ø> (ø)
src/Composer/RegisterAddress.php 100.00% <ø> (ø)
src/Utils/Types.php 94.20% <97.61%> (+0.57%) :arrow_up:
src/Composer/Read/ReadRegistersBuilder.php 100.00% <100.00%> (ø)
src/Composer/Read/Register/ReadRegisterAddress.php 100.00% <100.00%> (ø)
...c/Composer/Write/Register/WriteRegisterAddress.php 100.00% <100.00%> (ø)
src/Composer/Write/WriteRegistersBuilder.php 100.00% <100.00%> (ø)
src/Packet/QuadWord.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4418c74...e402933. Read the comment docs.

aldas commented 2 years ago

This is meant for #102