xx
This commit is contained in:
@@ -122,7 +122,7 @@ export function postFlightCommmand(data) {
|
|||||||
|
|
||||||
//切换相机
|
//切换相机
|
||||||
|
|
||||||
export function changeCamera(data) {
|
export function changeCameragateway(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/iot/UAV/changeCamera',
|
url: '/iot/UAV/changeCamera',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -130,6 +130,15 @@ export function changeCamera(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//切换飞机摄像头/iot/UAV/changeLens
|
||||||
|
export function changeCameraPlane(data) {
|
||||||
|
return request({
|
||||||
|
url: '/iot/UAV/changeLens',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
//直播心跳
|
//直播心跳
|
||||||
|
|
||||||
export function postLiveHeartbeat(data) {
|
export function postLiveHeartbeat(data) {
|
||||||
|
|||||||
@@ -242,7 +242,9 @@ export default function DeviceOverviewPage({ devices, planedevices, devicesAll,
|
|||||||
<div><span style={{ color: '#1890ff' }}>———</span> 巡检航线</div>
|
<div><span style={{ color: '#1890ff' }}>———</span> 巡检航线</div>
|
||||||
<div><span style={{ color: '#fa8c16' }}>———</span> 机器人路径</div>
|
<div><span style={{ color: '#fa8c16' }}>———</span> 机器人路径</div>
|
||||||
<div><span style={{ color: '#52c41a' }}>———</span> 清洗路径</div>
|
<div><span style={{ color: '#52c41a' }}>———</span> 清洗路径</div>
|
||||||
<div>🚗 设备位置</div>
|
<div>🚗 机器位置</div>
|
||||||
|
<div>✈️ 无人机位置</div>
|
||||||
|
|
||||||
<div><span style={{ color: '#1890ff' }}>●</span> 补给/充电点</div>
|
<div><span style={{ color: '#1890ff' }}>●</span> 补给/充电点</div>
|
||||||
<div><span style={{ color: '#ff4d4f' }}>■</span> 障碍/禁入区</div>
|
<div><span style={{ color: '#ff4d4f' }}>■</span> 障碍/禁入区</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ export default function DeviceIndexPage() {
|
|||||||
|| '无人机',
|
|| '无人机',
|
||||||
|
|
||||||
}));
|
}));
|
||||||
// ========================================================
|
|
||||||
|
|
||||||
setDevices(devData);
|
setDevices(devData);
|
||||||
setPlaneDevices(planeData);
|
setPlaneDevices(planeData);
|
||||||
|
|||||||
Reference in New Issue
Block a user