Bladeren bron

1、修复rim结果值的问题

guanxinyi 4 maanden geleden
bovenliggende
commit
4ce1082b3a

+ 1 - 28
lib/lab/pages/lab_image/widgets/image_measure_overlay/widgets/measure_result_layer.dart

@@ -7,7 +7,6 @@ import 'package:get/get.dart';
 import 'package:fis_measure/values/colors.dart';
 import 'package:fis_measure/view/result/converter.dart';
 import 'package:fis_measure/view/result/results_panel.dart';
-import 'package:fis_measure/interfaces/process/items/types.dart';
 import 'package:fis_ui/index.dart';
 
 class MeasureResultLayer extends GetView<ImageMeasureOverlayController> {
@@ -45,33 +44,7 @@ class MeasureResultLayer extends GetView<ImageMeasureOverlayController> {
         final idLength = features.length.toString().length;
         for (var feature in features) {
           final strList = FeatureValueDescConverter(feature).generate(idLength);
-          if (feature.refItem.meta.measureType ==
-              MeasureTypes.URMShellDenMeasure) {
-            strList.forEach((element) {
-              if (element.label == "  Area" ||
-                  element.label.contains("Density Analysis"))
-                lines.add(element);
-            });
-
-            // controller.onPerfusionColorbarChanged!.call(true);
-          } else if (feature.refItem.meta.measureType ==
-              MeasureTypes.URMShellVelMeasure) {
-            strList.forEach((element) {
-              if (element.label == "  Area" ||
-                  element.label.contains("Velocity Analysis"))
-                lines.add(element);
-            });
-
-            // controller.onPerfusionColorbarChanged!.call(true);
-          } else if (feature.refItem.meta.measureType ==
-              MeasureTypes.URMShellDenVelMeasure) {
-            strList.forEach((element) {
-              if (element.label == "  Area" ||
-                  element.label.contains("DV Analysis")) lines.add(element);
-            });
-          } else {
-            lines.addAll(strList);
-          }
+          lines.addAll(strList);
         }
 
         if (lines.isEmpty ||

+ 1 - 1
pubspec.yaml

@@ -100,7 +100,7 @@ dependency_overrides:
   fis_measure:
     git:
       url: http://git.ius.plus/Project-Wing/fis_lib_measure.git
-      ref: '9958bd8'
+      ref: '08c1ac7'
     # path: ../fis_lib_measure
     # path: ../fis_packages/fis_lib_measure
   fis_lib_report: