Browse Source

Merge branch 'master' of http://git.ius.plus:88/Project-Wing/Flyinsono

guanxinyi 4 months ago
parent
commit
826c40d5f4

+ 1 - 1
lib/lab/pages/lab_image/urm_data_processor/config/urm_config.dart

@@ -179,7 +179,7 @@ class URMConfig {
       createNumberItem(urmVideoTypeConfig, onOperationCall),
       AdjustItemInfo(
         "参数预设",
-        AdjustItemType.Presuppose,
+        AdjustItemType.Preset,
       ),
       // AdjustButtonItemInfo(
       //   key: videoSaveButtonKey,

+ 4 - 4
lib/lab/pages/lab_image/widgets/image_operate_panel/adjust_panel_config.dart

@@ -24,15 +24,15 @@ class AdjustItemInfo {
   AdjustItemInfo(this.title, this.itemType, {this.itemKey = ''});
 }
 
-// 四种类型,数值调节,类型选择,开关,按钮
+// 多种类型的调节器
 enum AdjustItemType {
   Type,
   Number,
   Switch,
   Button,
-  Number2,
+  FrameNumber,
   ButtonGroup,
-  Presuppose,
+  Preset,
 }
 
 // 类型选择器
@@ -116,5 +116,5 @@ class AdjustNumberItemInfo2 extends AdjustItemInfo {
     required this.max,
     required this.currentValue,
     String key = '',
-  }) : super(title, AdjustItemType.Number2, itemKey: key);
+  }) : super(title, AdjustItemType.FrameNumber, itemKey: key);
 }

+ 2 - 2
lib/lab/pages/lab_image/widgets/image_operate_panel/view.dart

@@ -641,7 +641,7 @@ class ImageOperatePanel extends GetView<ImageOperatePanelController> {
             ),
           );
           break;
-        case AdjustItemType.Number2:
+        case AdjustItemType.FrameNumber:
           AdjustNumberItemInfo2 numberItem = item as AdjustNumberItemInfo2;
           adjustPanelItems.add(
             NumberPad(
@@ -654,7 +654,7 @@ class ImageOperatePanel extends GetView<ImageOperatePanelController> {
             ),
           );
           break;
-        case AdjustItemType.Presuppose:
+        case AdjustItemType.Preset:
           adjustPanelItems.add(
             ControlItemUrmPostProcessingParameters(
               values: controller.userUrmConfigDTOs