#20230510 欣影管理平台装置信息查询代码
parent
4488c1d148
commit
02666e57a4
@ -0,0 +1,28 @@
|
||||
package com.shxy.xymanager_common.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PhotoMarkDto {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private Integer termId;
|
||||
|
||||
private Integer channelId;
|
||||
|
||||
private Integer width;
|
||||
|
||||
private Integer height;
|
||||
|
||||
private String color;
|
||||
|
||||
private String path;
|
||||
|
||||
private Short boderWidth;
|
||||
|
||||
private List<TermChannelCoordinateDto> lineList;
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package com.shxy.xymanager_common.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 绘制信息
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "获取绘制信息", description = "获取绘制信息")
|
||||
public class PhotoMarkModel implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "通道编号", example = "213")
|
||||
private Integer termId;
|
||||
|
||||
@ApiModelProperty(value = "绘制ID", example = "213")
|
||||
private Integer markId;
|
||||
|
||||
@NotNull(message = "通道编号")
|
||||
@ApiModelProperty(value = "通道编号", example = "213")
|
||||
private Integer channelId;
|
||||
|
||||
@ApiModelProperty(value = "参考图片宽", example = "213")
|
||||
private Integer width;
|
||||
|
||||
@ApiModelProperty(value = "参考图片高", example = "213")
|
||||
private Integer height;
|
||||
|
||||
@ApiModelProperty(value = "线条颜色", example = "213")
|
||||
private String color;
|
||||
|
||||
@ApiModelProperty(value = "线条宽度", example = "213")
|
||||
private Short boderWidth;
|
||||
|
||||
@ApiModelProperty(value = "图片地址", example = "213")
|
||||
private String path;
|
||||
|
||||
@ApiModelProperty(value = "通道编号和名称", example = "213")
|
||||
private List<CoordinateBeans> list;
|
||||
|
||||
|
||||
@Data
|
||||
public static class CoordinateBeans {
|
||||
@ApiModelProperty(value = "线段起始坐标x", example = "213")
|
||||
private float x1;
|
||||
@ApiModelProperty(value = "线段结束坐标x", example = "213")
|
||||
private float x2;
|
||||
@ApiModelProperty(value = "线段起始坐标y", example = "213")
|
||||
private float y1;
|
||||
@ApiModelProperty(value = "线段结束坐标y", example = "213")
|
||||
private float y2;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.shxy.xymanager_common.vo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel(value = "绘制坐标请求对象", description = "绘制坐标请求对象")
|
||||
public class MarkReqVo {
|
||||
@NotNull(message = "装置编号不能为空")
|
||||
@ApiModelProperty(value = "装置编号", required = true, example = "A0001")
|
||||
private Integer termId;
|
||||
|
||||
|
||||
@NotNull(message = "通道编号不能为空")
|
||||
@ApiModelProperty(value = "通道编号", required = true, example = "A0001")
|
||||
private Integer channelId;
|
||||
|
||||
@NotNull(message = "是否需要图片")
|
||||
@ApiModelProperty(value = "是否需要图片", required = true, example = "0:需要 1:不需要")
|
||||
private Integer needPic;
|
||||
|
||||
}
|
Loading…
Reference in New Issue