package com.unis.detectionnum.common.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="设备参数VO",description="设备参数VO")
@Data
public class DeviceParamVO {
	
	@ApiModelProperty(value="设备code")
    private String sbCode;

	@ApiModelProperty(value="方仓长-X轴长,cm",example="2000")
    private Integer fcLengthX;

	@ApiModelProperty(value="方仓宽-Y轴长,cm",example="2000")
    private Integer fcWidthY;

	@ApiModelProperty(value="粮食密度,Kg/m3",example="2000")
    private Integer grainDensity;

    @ApiModelProperty(value="探头位置坐标X,cm",example="2000") 
    private Integer probeX;

    @ApiModelProperty(value="探头位置坐标Y,cm",example="2000") 
    private Integer probeY;

    @ApiModelProperty(value="探头位置坐标Z,mm",example="2000") 
    private Integer probeZ;

    @ApiModelProperty(value="探头型号",example="2000")
    private String probeVersion;

    @ApiModelProperty(value="X电机初始位置",example="2000")
    private Integer motorX;

    @ApiModelProperty(value="Y电机初始位置",example="2000") 
    private Integer motorY;

    @ApiModelProperty(value="体积补偿,M3",example="0") 
    private Integer volumeCompensation;

    @ApiModelProperty(value="面积补偿,M2",example="0")
    private Integer areaCompensation;

    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

}