From 4090cd62730cdf26a629bd9211812c5acc1dae24 Mon Sep 17 00:00:00 2001
From: JINGYJ <1458671527@qq.com>
Date: Thu, 17 Jul 2025 16:15:01 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A7=E5=88=B6=E5=99=A8=E7=AE=A1?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/renderer/src/config/designControl.ts | 34 +-
.../controllerManagement.vue | 323 ++++++++++++++++++
src/renderer/src/views/Design/index.vue | 18 +-
3 files changed, 358 insertions(+), 17 deletions(-)
create mode 100644 src/renderer/src/views/Design/ControllerManagement/controllerManagement.vue
diff --git a/src/renderer/src/config/designControl.ts b/src/renderer/src/config/designControl.ts
index 9236bb7..e7ca7d3 100644
--- a/src/renderer/src/config/designControl.ts
+++ b/src/renderer/src/config/designControl.ts
@@ -28,12 +28,12 @@ export const navControlsConf: ControlsItemType[] = [
{
icon: PrevIcon,
text: '上一步',
- type: 'undo'
+ type: 'prev'
},
{
icon: NextIcon,
text: '下一步',
- type: 'redo'
+ type: 'next'
},
{
icon: LockIcon,
@@ -42,42 +42,52 @@ export const navControlsConf: ControlsItemType[] = [
},
{
icon: CameraIcon,
- text: '相机管理'
+ text: '相机管理',
+ type: 'camera'
},
{
icon: ControlIcon,
- text: '控制器管理'
+ text: '控制器管理',
+ type: 'control'
},
{
icon: GlobalIcon,
- text: '全局变量'
+ text: '全局变量',
+ type: 'global'
},
{
icon: CommIcon,
- text: '通信管理'
+ text: '通信管理',
+ type: 'comm'
},
{
icon: TriggerIcon,
- text: '全局触发'
+ text: '全局触发',
+ type: 'trigger'
},
{
icon: ScriptIcon,
- text: '全局脚本'
+ text: '全局脚本',
+ type: 'script'
},
{
icon: SingleExecIcon,
- text: '单次执行'
+ text: '单次执行',
+ type: 'singleExec'
},
{
icon: ContinuousExecIcon,
- text: '连续执行'
+ text: '连续执行',
+ type: 'continuousExec'
},
{
icon: RunInterfaceIcon,
- text: '编辑运行界面'
+ text: '编辑运行界面',
+ type: 'runInterface'
},
{
icon: RunModelIcon,
- text: '运行模型'
+ text: '运行模型',
+ type: 'runModel'
}
]
diff --git a/src/renderer/src/views/Design/ControllerManagement/controllerManagement.vue b/src/renderer/src/views/Design/ControllerManagement/controllerManagement.vue
new file mode 100644
index 0000000..5e93ed8
--- /dev/null
+++ b/src/renderer/src/views/Design/ControllerManagement/controllerManagement.vue
@@ -0,0 +1,323 @@
+
+
+