From 5d468fb0b77a90252ac6e14ef891ce1776bb7754 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Mon, 12 Oct 2026 09:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4devicecontrol=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/devices/DeviceControl.tsx | 34 +++++++++++++++++++----- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/src/components/devices/DeviceControl.tsx b/src/components/devices/DeviceControl.tsx index 65be71c..067f63a 100644 --- a/src/components/devices/DeviceControl.tsx +++ b/src/components/devices/DeviceControl.tsx @@ -10,6 +10,8 @@ import { X } from 'lucide-react'; import XboxController from './XboxController'; +import RobotFeatureButtons from './RobotFeatureButtons'; +import DPadControl from './DPadControl'; import { getControlRight, getFlightTaskDetail, getJurisdiction, getLiveStream, getPlaneDeviceList, getsinglePlan, getsinglePlanTrack, getUAVState, getWayLine, getWorkData, getWorkList, postFlightCommmand, saveDeviceTask, updateFlightTaskStatus } from '@/api/api'; import { message as antdMessage, Button, DatePicker, Input, InputNumber, Modal, Select, Tooltip } from 'antd'; @@ -1564,6 +1566,17 @@ const RobotControlCenter = ({ setView }) => { */} + {/* Feature buttons */} +
{t('devices.features.title')}
+{t('devices.dpad.title')}
+