ParamManagerScripts/backend
Miguel affab8a646 Add XML block header parser and SCL header addition script
- Implemented `parse_block_header_from_xml` function to extract block information from TIA Portal XML files.
- Created `_extract_common_attributes` helper function to retrieve common attributes from block nodes.
- Added `generate_block_header_comment` function to format the header comment based on extracted block information.
- Introduced `get_block_header_comment_from_xml` for convenience in generating header comments directly from XML files.
- Developed `add_header_to_file` function in a new test script to read SCL files, check for existing headers, and prepend a generated header from the corresponding XML file.
- Included error handling and logging for better debugging and user feedback.
2025-08-23 13:14:18 +02:00
..
script_groups Add XML block header parser and SCL header addition script 2025-08-23 13:14:18 +02:00
script_utils.py Agregando Scrips de Exportacion de Tia Portal y conversion de la configuracion de hardware a md 2025-05-02 22:59:35 +02:00