#20230506 欣影管理平台拍照功能代码
parent
3eedc0bd70
commit
32c148d5f6
@ -0,0 +1,29 @@
|
|||||||
|
package com.shxy.xymanager_common.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TerminalInfoDto implements Serializable {
|
||||||
|
private Integer termId;
|
||||||
|
|
||||||
|
private Integer batteryCapacity;
|
||||||
|
|
||||||
|
private Integer batteryVoltage;
|
||||||
|
|
||||||
|
private Integer workingTime;
|
||||||
|
|
||||||
|
private Integer floatingCharge;
|
||||||
|
|
||||||
|
private Integer totalWorkingTime;
|
||||||
|
|
||||||
|
private Integer connectionState;
|
||||||
|
|
||||||
|
private Integer wsUpdateTime;
|
||||||
|
|
||||||
|
private String cmId;
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
package com.shxy.xymanager_common.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备信息列表
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "获取设备状态信息", description = "获取设备状态信息")
|
||||||
|
public class TerminalModel implements Serializable {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "装置编号", example = "123456")
|
||||||
|
private Integer termId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "电池电量", example = "123456")
|
||||||
|
private Integer batteryCapacity;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "电池电压", example = "123456")
|
||||||
|
private Integer batteryVoltage;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "本次连续工作时间(小时)", example = "12345678")
|
||||||
|
private Integer workingTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "浮充状态:充电 放电", example = "12345678")
|
||||||
|
private Integer floatingCharge;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "工作总时间(小时)", example = "名称名称")
|
||||||
|
private Integer totalWorkingTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "网络连接状态 ", example = "名称名称")
|
||||||
|
private Integer connectionState;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "cmId", example = "123456")
|
||||||
|
private String cmId;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package com.shxy.xymanager_common.vo;
|
||||||
|
|
||||||
|
import cn.hutool.core.date.DateTime;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value = "返回图片查询", description = "返回图片查询")
|
||||||
|
public class ReturnedPhotoVo {
|
||||||
|
@NotNull(message = "不能传入空值")
|
||||||
|
@ApiModelProperty(value = "装置id", required = true, example = "A0001")
|
||||||
|
private Integer termId;
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "手动拍照时间", required = true, example = "A0001")
|
||||||
|
private DateTime photoTime;
|
||||||
|
}
|
Loading…
Reference in New Issue