添加摄像头编号

This commit is contained in:
cbs 2025-06-07 10:22:48 +08:00
parent b0ac304a8f
commit 16fc33d8fb
5 changed files with 14 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class RobotStatusServiceImpl implements MqttService {
*/
@Override
public void analysisMessage(String message) {
log.info("处理RobotStatusServiceImpl的消息 :{}", message);
// log.info("处理RobotStatusServiceImpl的消息 :{}", message);
RobotPoseStatusDTO robotStatusData = JSON.parseObject(message, RobotPoseStatusDTO.class);
robotStatusApi.robotStatusUpdate(robotStatusData);
}

View File

@ -92,4 +92,7 @@ public class DeviceInformationPageReqVO extends PageParam {
@Schema(description = "摄像头类型1 枪机 2半球 3球机 4云台枪机")
private String cameraType;
@Schema(description = "摄像头编号")
private String cameraCode;
}

View File

@ -124,4 +124,7 @@ public class DeviceInformationRespVO {
@ExcelProperty("摄像头类型1 枪机 2半球 3球机 4云台枪机")
private String cameraType;
@Schema(description = "摄像头编号")
@ExcelProperty("摄像头编号")
private String cameraCode;
}

View File

@ -92,4 +92,6 @@ public class DeviceInformationSaveReqVO {
@Schema(description = "摄像头类型1 枪机 2半球 3球机 4云台枪机")
private String cameraType;
@Schema(description = "摄像头编号")
private String cameraCode;
}

View File

@ -139,4 +139,9 @@ public class DeviceInformationDO extends BaseDO {
* 摄像头类型1 枪机 2半球 3球机 4云台枪机
*/
private String cameraType;
/**
* 摄像头编号
*/
private String cameraCode;
}