Skip to content

Support a version-dependent CFI interface - #84

Merged
Guzz-T merged 4 commits into
issue/78/cfi-versionfrom
issue/78/cfi-version-intf
Nov 22, 2026
Merged

Guzz-T merged 4 commits into
issue/78/cfi-versionfrom
issue/78/cfi-version-intf

Conversation

@Guzz-T

@Guzz-T Guzz-T commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

To do this, a version field had to be added. However, since fields with the same name in CFI and SHI cause problems when merged into LuxtronikInterface, unique names had to be used. To achieve this, "name mangeling" was used.

Relates to #78

Note:
    These classes are grouped with together in the Luxtronik section.
    Use only unique identifiers (e.g., using name mangling like `self.__version`;
    this is checked by pytest) for methods and fields and do not use public
    methods internally (e.g., `self.version`). Otherwise, the correct function
    might not be called.
@github-actions

Copy link
Copy Markdown

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py101694%99–116, 119
   __main__.py25250%3–66
   datatypes.py462399%147, 676–677
   discover.py58198%63
   interface.py24675%20, 31, 54, 69, 84, 102
   version.py122596%122, 235, 237, 245, 284
luxtronik/cfi
   interface.py2262390%149–150, 164–167, 171, 190–191, 206–216, 222, 332–333, 421, 454
luxtronik/definitions
   __init__.py219199%209
luxtronik/scripts
   __init__.py35586%7–16, 51
   discover_shi.py60600%8–98
   dump_cfi.py14657%18–25, 29
   dump_shi.py15660%21–28, 32
   performance_shi.py63630%7–89
   update_screen.py1058222%6, 20–41, 46–48, 51–61, 64, 70–75, 78, 81–85, 88–92, 95–97, 100–103, 106–111, 115–116, 119–126, 129–136
   watch_cfi.py321650%36–47, 50–56, 60
   watch_shi.py331652%38–49, 52–58, 62
luxtronik/shi
   inputs.py17194%38
   interface.py372599%101, 171, 524, 605, 613
TOTAL266033088% 
Tests Skipped Failures Errors Time
467 0 💤 0 ❌ 0 🔥 16.520s ⏱️

@Guzz-T
Guzz-T merged commit 020ac0f into issue/78/cfi-version Nov 22, 2026
5 checks passed
@Guzz-T
Guzz-T deleted the issue/78/cfi-version-intf branch November 22, 2026 14:59
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.

1 participant