配置参数 增加

This commit is contained in:
mmc
2026-09-03 14:52:05 +08:00
parent 73a9ec2e05
commit d501aac364
3 changed files with 60 additions and 46 deletions

View File

@@ -174,6 +174,14 @@ const DeviceParamModal: React.FC<DeviceParamModalProps> = ({ open, device, onCan
{ key: 'rightBackwardGain', label: t('devices.paramRightBackwardGain'), type: 'InputNumber', editable: true, min: 0, max: 1, step: 0.01 },
{ key: 'runSpeed', label: t('devices.paramRunSpeed'), type: 'InputNumber', editable: true },
//hasHost: "hasHost",
//rtkMode: "rtkMode", cameraNum: "cameraNum", wheelType: "wheelType", engineType: "engineType", capabilityList: "capabilityList", powerType: "powerType",
{ key: 'hasHost', label: t('devices.hasHost'), type: 'Input', editable: false },
{ key: 'rtkMode', label: t('devices.rtkMode'), type: 'Input', editable: false },
{ key: 'cameraNum', label: t('devices.cameraNum'), type: 'Input', editable: false },
{ key: 'wheelType', label: t('devices.wheelType'), type: 'Input', editable: false },
{ key: 'engineType', label: t('devices.engineType'), type: 'Input', editable: false },
{ key: 'capabilityList', label: t('devices.capabilityList'), type: 'Input', editable: false },
{ key: 'chipUidSign', label: t('devices.paramChipUidSign'), type: 'InputNumber', editable: false },
{ key: 'chipUid', label: t('devices.paramChipUid'), type: 'Input', editable: false },
{ key: 'remoteConfig', label: t('devices.paramRemoteConfig'), type: 'InputNumber', editable: false },

View File

@@ -1129,6 +1129,8 @@ const en = {
fixed2Inspection: 'Inspection Wayline',
locationFixed2: '🚗 Machine Location',
hasHost: "hasHost",
rtkMode: "rtkMode", cameraNum: "cameraNum", wheelType: "wheelType", engineType: "engineType", capabilityList: "capabilityList", powerType: "powerType",
dronePositionFixed2: '✈️ Drone Position',

View File

@@ -685,52 +685,56 @@ const zh = {
outDock: '舱外',
outdoor: '室外',
panorama: '全景',
paramArmChannel: '参数布防渠道',
paramBatteryType: '参数电量类型',
paramChassisChannel: '参数底盘渠道',
paramChipUid: '参数芯片UID',
paramChipUidSign: '参数芯片UID标识',
paramDelFlag: '参数删除标志',
paramDriveType: '参数驱动类型',
paramDualRtk: '参数双RTK',
paramFanChannel: '参数风扇渠道',
paramFanPolarity: '参数风扇极性',
paramFirmwareVersion: '参数固件版本',
paramForwardSpeedLimit: '参数前进速度限制',
paramFuelPumpChannel: '参数燃料泵渠道',
paramGearRatio: '参数档位比例',
paramKnifeChannel: '参数刀渠道',
paramKnifeMotorMode: '参数刀电机模式',
paramKnifePolarity: '参数刀极性',
paramKnifeWidth: '参数刀宽度',
paramLeftBackwardGain: '参数左后退增益',
paramLeftForwardGain: '参数左前进增益',
paramLeftMotorReverse: '参数左电机反向',
paramLiftChannel: '参数抬升渠道',
paramLiftProtectTime: '参数抬升保护时间',
paramRelayBoard: '参数中继看板',
paramRemoteConfig: '参数远程配置',
paramRemoteType: '参数远程类型',
paramRightBackwardGain: '参数右后退增益',
paramRightForwardGain: '参数右前进增益',
paramRightMotorReverse: '参数右电机反向',
paramRobotHeight: '参数机器人高度',
paramRobotLength: '参数机器人长度',
paramRobotWidth: '参数机器人宽度',
paramRunSpeed: '参数运行速度',
paramSaveException: '参数保存异常',
paramSaveFail: '参数保存失败',
paramSaveSuccess: '参数保存成功',
paramSwapChannel: '参数切换渠道',
paramThrottleChannel: '参数油门渠道',
paramThrottlePolarity: '参数油门极性',
paramTurnSpeedLimit: '参数转向速度限制',
paramTyreSize: '参数轮胎大小',
paramUse4G: '参数4G',
paramViewEditTitle: '参数查看编辑标题',
paramWalkMotorMode: '参数行走电机模式',
paramWifiName: '参数WiFi名称',
paramWifiPassword: '参数WiFi密码',
paramArmChannel: '布防渠道',
paramBatteryType: '电量类型',
paramChassisChannel: '底盘渠道',
paramChipUid: '芯片UID',
paramChipUidSign: '芯片UID标识',
paramDelFlag: '删除标志',
paramDriveType: '驱动类型',
paramDualRtk: '双RTK',
paramFanChannel: '风扇渠道',
paramFanPolarity: '风扇极性',
paramFirmwareVersion: '固件版本',
paramForwardSpeedLimit: '前进速度限制',
paramFuelPumpChannel: '燃料泵渠道',
paramGearRatio: '档位比例',
paramKnifeChannel: '刀渠道',
paramKnifeMotorMode: '刀电机模式',
paramKnifePolarity: '刀极性',
paramKnifeWidth: '刀宽度',
paramLeftBackwardGain: '左后退增益',
paramLeftForwardGain: '左前进增益',
paramLeftMotorReverse: '左电机反向',
paramLiftChannel: '抬升渠道',
paramLiftProtectTime: '抬升保护时间',
paramRelayBoard: '中继看板',
paramRemoteConfig: '远程配置',
paramRemoteType: '远程类型',
paramRightBackwardGain: '右后退增益',
paramRightForwardGain: '右前进增益',
paramRightMotorReverse: '右电机反向',
paramRobotHeight: '机器人高度',
paramRobotLength: '机器人长度',
paramRobotWidth: '机器人宽度',
paramRunSpeed: '运行速度',
paramSaveException: '保存异常',
paramSaveFail: '保存失败',
paramSaveSuccess: '保存成功',
paramSwapChannel: '切换渠道',
paramThrottleChannel: '油门渠道',
paramThrottlePolarity: '油门极性',
paramTurnSpeedLimit: '转向速度限制',
paramTyreSize: '轮胎大小',
paramUse4G: '4G',
paramViewEditTitle: '参数查看编辑',
paramWalkMotorMode: '行走电机模式',
paramWifiName: 'WiFi名称',
paramWifiPassword: 'WiFi密码',
productModel: '产品型号',
hasHost: "是否有上位机",
rtkMode: "rtk模式", cameraNum: "摄像头数量", wheelType: "车轮类型", engineType: "发动机类型", capabilityList: "能力列表", powerType: "动力类型",
pathPlanDone: '路径计划已完成',
pathPlanFailRetry: '路径计划失败重试',
pathPlanning: '路径规划',