caoqianming
|
fd2dfbdfb8
|
Add analysis judgment, history storage, and report/Excel export
Calculation (calculator/domain):
- Material types (main body / hollow / decorative) with tiered limits
- Validity judgment (37 Bq/kg exemption + Ur(IRa) k=2 threshold)
- Critical-value verdict via true-value interval vs limit (pass/fail/
need-more), decorative A/B/C cascade
- GUM expanded uncertainty U and analytical interval P2.5/P97.5
- Single-measurement support (n=1, uA=0); fix Type-A term to include a
Persistence & export (src-tauri):
- SQLite history via rusqlite (save/list/get/delete, filtered list)
- Excel export via rust_xlsxwriter with native Save-As dialog
- Report view (A4) with print-to-PDF
UI:
- Tabs (calculate / history), save-to-history, report preview
- Logo-matched navy + gold theme, widened layout, density polish
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-11 15:55:55 +08:00 |