增加地图编辑界面,该界面支持增删改查 返航点,一个机器对应一个返航点,增删改查场站分区,将原本机器状态界面的 路径规划功能移植到该页面,地图上支持显示 返航点和分区,点击分区和返航点,地图支持定位和高亮,等待测试

机器状态界面返航 功能接口对接,还未对接实机测试
This commit is contained in:
mmc
2026-10-24 13:38:05 +08:00
parent a17a19fdc4
commit fb363882ac
10 changed files with 2137 additions and 214 deletions

View File

@@ -378,7 +378,6 @@
rtkFixed: 'RTK Fixed',
networkLatency: 'Network Latency',
waterRiskWarning: 'Warning: Water accumulation risk in Area B, avoid it',
presetRoutes: 'Preset Routes',
all: 'All',
stop: 'Stop',
currentTask: 'Current Task',
@@ -450,6 +449,10 @@
selectExecDate: 'Select date',
execTime: 'Execution Time',
saveTask: 'Save Task',
scheduledTaskTab: 'Scheduled Task',
returnTaskTab: 'Return Task',
presetRoutes: 'Preset Routes',
noReturnRoute: 'No single-task routes available',
abMode: 'ab Mode',
activatedTime: 'Activated Time',
aiAction1: 'ai Action1',
@@ -779,6 +782,8 @@
optionalEmpty: 'Optional Empty',
otherWebControlling: 'Other Web Controlling',
platformRequestControl: "{{platform}} platformRequestControl",
coverageMode: 'coverageMode',
singleMode: 'singleMode',
outDock: 'Out Dock',
outdoor: 'Outdoor',
@@ -898,7 +903,49 @@
handleSbus: 'SBUS',
handleCustom: 'Custom',
},
turnSpeed: 'Turn Speed',
mapEditor: {
returnPoint: 'Return Point',
legend: 'Legend',
unbound: 'Unbound',
duplicateBindDevice: 'Duplicate Bind Device',
restArea: 'Region',
region: 'Region',
routeGen: 'Route Planning',
toolPoint: 'Click',
toolBox: 'Box',
routeTip: 'Click on map to drop points in order',
undo: 'Undo',
clearAll: 'Clear All',
mapClickHint: 'Click on map to add a marker',
routeClickHint: 'Click on map to add route points in order',
pointCount: 'Points',
routeGenTitle: 'Route Planning',
routeName: 'Route Name',
routeNamePlaceholder: 'Enter route name',
routeType: 'Route Type',
typeMowing: 'Mowing Task',
typeInspection: 'Inspection Task',
typeOther: 'Other',
remark: 'Remark',
remarkPlaceholder: 'Optional',
selectRobot: 'Select Robot',
pointSelect: 'Point Select',
selectRobotFirst: 'Please select a robot first',
robotPosNotReady: 'Robot real-time position is not ready, please wait',
unbind: 'Unbound',
returnPointList: 'Return Point List',
restAreaList: 'Region List',
regionList: 'Region List',
routePoints: 'Route Points',
pointEmptyHint: 'No markers yet. Click on map to add.',
routeEmptyHint: 'No route points yet. Click on map to add in order.',
save: 'Save',
saveSuccess: 'Saved successfully',
mapEditorTitle: 'Map Editor',
fillName: 'Please enter route name',
needAtLeast2Points: 'At least 2 points required',
}, turnSpeed: 'Turn Speed',
realtimeVideoMonitor: 'Realtime Video Monitor',
rechargeBtn: 'Recharge Btn',
rechargeCommandSent: 'Recharge Command Sent',
@@ -3888,3 +3935,7 @@
};
export default en;

View File

@@ -466,6 +466,9 @@ const zh = {
selectExecDate: '选择执行日期',
execTime: '执行时间',
saveTask: '保存任务',
scheduledTaskTab: '定时任务',
returnTaskTab: '返航任务',
noReturnRoute: '暂无单次任务路径',
abMode: '自定义模式',
saveFail: '保存失败',
@@ -541,6 +544,8 @@ const zh = {
countUnit: '数量单位',
coverClosed: '已关闭',
coverOpen: '打开',
coverageMode: '覆盖模式',
singleMode: '单点模式',
coverageEquipment: '覆盖设备',
coverageValue: '{{types}}/{{units}}',
createSuccess: '创建成功',
@@ -1496,6 +1501,73 @@ const zh = {
handleCustom: '自定义',
},
mapEditor: {
returnPoint: '返航点',
restArea: '分区',
legend: '图例',
unbound: '未绑定',
region: '分区',
routeGen: '路径生成',
toolPoint: '点选',
toolBox: '框选',
routeTip: '点击地图依次打点生成路径',
undo: '撤销',
clearAll: '清空',
mapClickHint: '点击地图添加标记点',
routeClickHint: '点击地图依次打点生成路径',
pointCount: '点数',
routeGenTitle: '路径生成',
routeName: '路径名称',
routeNamePlaceholder: '请输入路径名称',
routeType: '路径规划类型',
typeMowing: '割草任务',
typeInspection: '巡检任务',
typeOther: '其他类型',
remark: '备注',
remarkPlaceholder: '选填',
selectRobot: '选择机器人',
pointSelect: '点选',
selectRobotFirst: '请先选择机器人',
robotPosNotReady: '机器人实时位置尚未获取,请稍候',
unbind: '未绑定',
returnPointList: '返航点列表',
restAreaList: '分区列表',
regionList: '分区列表',
routePoints: '路径点',
pointEmptyHint: '暂无标记点,请在地图上点击添加',
routeEmptyHint: '暂无路径点,请在地图上依次点击打点',
duplicateBindDevice: '重复绑定设备',
bindUpdateSuccess: '绑定设备已更新',
save: '保存',
saveSuccess: '保存成功',
mapEditorTitle: '地图编辑',
fillName: '请填写路径名称',
needAtLeast2Points: '路径至少需要 2 个点',
// 已配置列表
configuredReturnPoints: '已配置返航点',
configuredRegions: '已配置分区',
noConfiguredReturnPoints: '暂无已配置返航点',
noConfiguredRegions: '暂无已配置分区',
unnamed: '未命名',
regionCode: '分区编码',
scopeCount: '范围点数',
mode: '模式',
noPresetRoutes: '暂无预设路径',
confirmDeleteRoute: '确定删除该预设路径?',
// 分区保存 Modal
saveRegion: '保存分区',
editRegion: '编辑分区',
regionName: '分区名称',
regionNamePlaceholder: '请输入分区名称',
regionNameRequired: '请填写分区名称',
regionCodePlaceholder: '请输入分区编码(选填)',
defaultRoute: '默认线路',
selectRoutePlaceholder: '请选择默认线路',
bindRoutes: '绑定线路',
selectRoutesPlaceholder: '请选择绑定的预设路径',
currentScopePoints: '当前区域范围点数',
},
},
video: {
onlineVideo: '在线视频',
@@ -3947,3 +4019,6 @@ const zh = {
};
export default zh;