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 @@ + + + + + diff --git a/src/renderer/src/views/Design/index.vue b/src/renderer/src/views/Design/index.vue index 29ccab5..065f29f 100644 --- a/src/renderer/src/views/Design/index.vue +++ b/src/renderer/src/views/Design/index.vue @@ -14,7 +14,7 @@ @open-log="handleSystemClick" @system-click="handleSystemClick" /> - +
@@ -47,6 +47,7 @@ +