b92e3a6af2
Refactor Reader classes: Extract common parsing logic to StringParsingHelper
...
Created StringParsingHelper utility class (107 lines) to consolidate repetitive parsing:
- ParseInt32, ParseDouble, ParsePercent methods with error handling
- TryParseKeyValue methods for extracting values from key=value strings
- ExtractAfterPrefix for removing fixed prefixes
Benefits:
- Eliminated duplicate parsing code across ReportReader and PlateReader
- Consistent error handling and debug logging
- Cleaner, more maintainable parsing methods
- Reduced PlateReader from 338 lines to 277 lines (18% reduction)
- Reduced ReportReader from 378 lines to 339 lines (10% reduction)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-08 23:35:53 -04:00
7c39e89347
Refactor PepDB.cs: Consolidate repetitive Entity Framework configuration
...
Reduced file from 481 lines to 108 lines (77.5% reduction) by:
- Created ConfigureStringProperties helper method to eliminate repetitive IsUnicode(false) calls
- Organized entity configurations into dedicated methods per entity type
- Maintained all original functionality while improving maintainability
Benefits:
- Easier to add new properties or entities
- Better code organization and readability
- Follows DRY principle
- Type-safe using lambda expressions
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-08 23:29:31 -04:00
8fb1f35396
Changed target framework to version 4.8
2023-03-02 19:57:55 -05:00
ca978a1dcc
Made objects serializable so they work with winforms UI
2023-03-02 19:56:19 -05:00
1f523a4f3b
Changes for PEP version 2022
2023-01-19 09:53:44 -05:00
56f44f9ddf
Cleanup NestReader.LoadDrawingInfo
2021-06-24 09:33:20 -04:00
4c5a11c865
Display only parts
2021-05-07 14:23:35 -04:00
AJ
2b326be489
Changed material id to number.
2019-12-13 16:11:44 -05:00
AJ
bdf31fb7f7
Changed encoding type to ASCII
2019-12-12 06:26:31 -05:00
186311eebc
Fixed reading drawing loops
2019-04-20 15:18:01 -04:00
AJ
e3b3f2ee8b
Added netDxf submodule
2019-02-22 08:31:10 -05:00
AJ
1ee46a6174
Read material density and thickness.
2019-02-22 08:30:23 -05:00
a16ea4621b
Changed target dotnet version to 4.6.1
2018-11-24 13:23:40 -05:00
AJ
44e3389e0b
Updated DotNetZip
2018-10-09 06:23:54 -04:00
AJ
adecdc13e5
Initial commit
2018-08-31 07:25:48 -04:00