feat(BIP): add weighted parameter error analysis algorithm

Implement intelligent BOM error analysis module that:
- Extracts and analyzes failed order matching attempts
- Uses feature-weight algorithm (azxs=10000, bkxs=1000, etc.) for accurate parameter conflict detection
- Automatically traces unmatched parameters to root cause
- Splits multi-error results into separate rows for detailed analysis
- Exposes BomExtractor data pool via GetAllItems() for external analysis

This solves fuzzy tie problems that caused parameter false positives in previous matching logic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-03-26 14:41:58 +08:00
parent 658f8a7160
commit 7d59e489b1
3 changed files with 682 additions and 0 deletions

View File

@@ -479,4 +479,12 @@ Public Function GetErrorSummary() As String
Next msg
GetErrorSummary = result
End If
End Function
'=====================================================================
' 方法: GetAllItems
' 功能: 获取所有加载的BOM物料 (暴露数据池供异常分析溯源算法使用)
' 返回: Collection
'=====================================================================
Public Function GetAllItems() As Collection
Set GetAllItems = pAllItems
End Function