🎨 style: standardize parameter naming to camelCase
Refactor parameter and property names from PascalCase to camelCase for consistent naming conventions across VBA modules. Changes: - Conditions → conditions (property and parameters) - Update all references across 7 modules - Maintain functional behavior while improving code readability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -198,8 +198,8 @@ End Sub
|
||||
' 过程: ProcessSingleOrder
|
||||
' 功能: 处理单个订单,提取BOM并将数据添加到输出集合
|
||||
' 参数: orderNumber - 生产订单号
|
||||
' productModel - 产品型号
|
||||
' quantity - 生产数量
|
||||
' ProductModel - 产品型号
|
||||
' Quantity - 生产数量
|
||||
' productCode - 产品编码
|
||||
' componentPriority - 部件优先标志("是"或"否")
|
||||
' BomExtractor - BOM提取器对象
|
||||
@@ -234,7 +234,7 @@ Private Sub ProcessSingleOrder(orderNumber As String, _
|
||||
|
||||
' 提取BOM
|
||||
Dim matchedItems As Collection
|
||||
Set matchedItems = BomExtractor.ExtractBom(parser.Conditions)
|
||||
Set matchedItems = BomExtractor.ExtractBom(parser.conditions)
|
||||
|
||||
' 输出结果
|
||||
If matchedItems.count = 0 Then
|
||||
@@ -280,10 +280,10 @@ End Sub
|
||||
' 功能:创建 BIP 上传模板一行数据的数组
|
||||
' 参数:orderNumber - 生产订单号
|
||||
' productCode - 产品编码
|
||||
' quantity - 生产数量
|
||||
' Quantity - 生产数量
|
||||
' actualRowNumber - 实际行号(BIP 行号基数 + 组内序号)
|
||||
' materialCode - 材料编码(66 编码)
|
||||
' 返回:Variant() - 包含 10 个元素的数组
|
||||
' 返回:Variant() - 包含 9 个元素的数组
|
||||
'=====================================================================
|
||||
Private Function CreateBIPRowArray(orderNumber As String, _
|
||||
productCode As String, _
|
||||
|
||||
Reference in New Issue
Block a user