pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

ENH: allow configuration of update rate (poll/notify) via pragma #151

Closed klauer closed 4 years ago

klauer commented 4 years ago

The goal is to support specification of either polling/notification with the new m-epics-twincat-ads bulk polling.

See the diff for docs regarding the update pragma key.

Closes #146 Closes #153

TODO: eventually should restructure, moving the independent pragma normalization functions out to pytmc.parser (or elsewhere) to avoid nesting the imports

codecov-io commented 4 years ago

Codecov Report

Merging #151 into master will increase coverage by 0.61%. The diff coverage is 94.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   78.25%   78.87%   +0.61%     
==========================================
  Files          17       17              
  Lines        1936     1988      +52     
==========================================
+ Hits         1515     1568      +53     
+ Misses        421      420       -1
Impacted Files Coverage Δ
pytmc/bin/pragmalint.py 83.76% <100%> (+3.21%) :arrow_up:
pytmc/record.py 92.7% <100%> (+0.46%) :arrow_up:
pytmc/pragmas.py 94.63% <89.28%> (-0.42%) :arrow_down:

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 f1ce4e6...9335af8. Read the comment docs.