Fix coverage with several contract classes; table annotation and file path checks; clean task dir on write

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 08:44:35 +02:00
parent fb576b0954
commit 03ab36149e
388 changed files with 28620 additions and 339 deletions

View File

@@ -0,0 +1,23 @@
INTERFACE {{p}}if_meter_reading PUBLIC.
TYPES ty_meter_id TYPE c LENGTH 10.
TYPES ty_reading_date TYPE d.
TYPES ty_value TYPE i.
TYPES:
BEGIN OF ty_reading,
meter_id TYPE ty_meter_id,
reading_date TYPE ty_reading_date,
reading_value TYPE ty_value,
END OF ty_reading.
TYPES tt_readings TYPE STANDARD TABLE OF ty_reading WITH DEFAULT KEY.
TYPES:
BEGIN OF ty_result,
meter_id TYPE ty_meter_id,
opening_value TYPE ty_value,
closing_value TYPE ty_value,
consumption TYPE ty_value,
END OF ty_result.
TYPES tt_result TYPE STANDARD TABLE OF ty_result WITH DEFAULT KEY.
METHODS calculate
IMPORTING it_readings TYPE tt_readings
RETURNING VALUE(rt_result) TYPE tt_result.
ENDINTERFACE.