|
@@ -10,8 +10,11 @@ class ItemMetaConverter {
|
|
|
late String _measureType = dto.measureTypeName!;
|
|
|
|
|
|
late final List<ItemOutputMeta> _outputs;
|
|
|
+
|
|
|
late final List<ItemMeta> _childItems = [];
|
|
|
|
|
|
+ int? _rimWidth;
|
|
|
+
|
|
|
/// 输出测量项元
|
|
|
ItemMeta output() {
|
|
|
if (dto.multiMethodItems != null && dto.multiMethodItems!.isNotEmpty) {
|
|
@@ -35,6 +38,7 @@ class ItemMetaConverter {
|
|
|
|
|
|
/// 【TODO】 暂时屏蔽 buyStatus
|
|
|
// buyStatus: dto.status,
|
|
|
+ rimWidth: _rimWidth,
|
|
|
);
|
|
|
|
|
|
return meta;
|
|
@@ -62,6 +66,9 @@ class ItemMetaConverter {
|
|
|
_childItems.add(_convertChildItem(child));
|
|
|
}
|
|
|
}
|
|
|
+ if (workingItem.rimWidth != null) {
|
|
|
+ _rimWidth = workingItem.rimWidth;
|
|
|
+ }
|
|
|
_outputs = _convetOutputsFromCalc(workingItem.calculator!);
|
|
|
}
|
|
|
|