CMVR-IOT/cmvr-iot-inspection/src/main/java/com/cmvr/inspection/domain/InspectionRobot.java
lixiaolong 86a8e02d85 refactor(audio): 将terminalId替换为robotId以统一机器人标识
- 修改AudioService中terminalId为robotId,包括变量声明、参数传递和日志输出
- 更新BaseChannelSubscribeHandler中的注释和参数解析逻辑
- 修改CameraStreamTicketService中的方法参数和记录类定义
- 更新DeRobotConfig文档中的术语描述
- 替换DeviceListController和EdgeAgvController中的terminalId参数为robotId
- 修改EdgeAgvServiceImpl中所有方法的参数引用
- 更新EdgeArmController中所有终端ID参数为机器人ID
- 修改EdgeArmServiceImpl中所有gRPC客户端调用的参数
- 调整EdgeArmTeleopOpenVO中的字段定义顺序
2026-08-05 11:10:19 +08:00

117 lines
3.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.cmvr.inspection.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.cmvr.common.annotation.Excel;
import com.cmvr.common.core.domain.BaseEntity;
import java.util.Date;
/**
* 巡检机器人对象 inspection_robot
*
* @author cmvr-iot
* @since 2026-05-29
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel("巡检机器人")
public class InspectionRobot extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
@ApiModelProperty("id")
@TableId(value = "id", type = IdType.ASSIGN_UUID)
private String id;
/** Permanent robot identity reported by QUIC. */
@Excel(name = "机器人ID")
@ApiModelProperty("机器人永久唯一ID")
private String robotId;
/** 机器人编码 */
@Excel(name = "机器人编码")
@ApiModelProperty("机器人编码")
private String robotCode;
/** 机器人名称 */
@Excel(name = "机器人名称")
@ApiModelProperty("机器人名称")
private String robotName;
/** 机器人型号 */
@Excel(name = "机器人型号")
@ApiModelProperty("机器人型号")
private String robotModel;
/** 机器人类型 */
@Excel(name = "机器人类型")
@ApiModelProperty("机器人类型")
private String robotType;
/** IP地址 */
@Excel(name = "IP地址")
@ApiModelProperty("IP地址")
private String ipAddress;
/** 端口号 */
@Excel(name = "端口号")
@ApiModelProperty("端口号")
private Long port;
/** 当前地图 */
@Excel(name = "当前地图")
@ApiModelProperty("当前地图")
private String currentMapId;
/** 当前状态 */
@Excel(name = "当前状态")
@ApiModelProperty("当前状态(0在线 1离线 2充电中 3巡检中)")
private String status;
/** 电量百分比 */
@Excel(name = "电量百分比")
@ApiModelProperty("电量百分比")
private Integer batteryLevel;
/** 当前位置 */
@Excel(name = "当前位置")
@ApiModelProperty("当前位置")
private String currentPosition;
/** QUIC runtime state, independent from the robot business status. */
@ApiModelProperty("连接状态0离线1在线")
private String connectStatus;
@ApiModelProperty("当前QUIC节点ID")
private String quicNodeId;
@ApiModelProperty("当前QUIC会话ID")
private String quicSessionId;
@ApiModelProperty("边缘端启动ID")
private String quicBootId;
@ApiModelProperty("QUIC连接来源IP")
private String observedIp;
@ApiModelProperty("边缘端软件版本")
private String softwareVersion;
@ApiModelProperty("最后心跳时间")
private Date lastHeartbeatTime;
@ApiModelProperty("归档状态0正常1归档")
private String archivedStatus;
}