package com.mvc.recognition.freeai;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备采样结果汇总(http调用结果)
 */
public class FaSampleResult implements Serializable {
    private String deviceSn;            //设备SN
    private String stationCode;         //设备站代码

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss",timezone = "GMT+8")
    private Date sampleTime;            //设备的采样时间

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss",timezone = "GMT+8")
    private Date recogTime;     //AI识别时间

    private String aiVer;       //AI版本号

    private Long aiResult;          //AI识别结果,最小单位0.1L(dl),除以10000得到立方的值
    private String recogResult;     //识别结果字符串(单位为立方)

    private Integer[][] aiResult_array;     //概率调试信息
    private Integer meterType;    //仪表类型(0:不是水表图片,1:数字+指针,2:全指针 3:全数字)

    private Integer sls_imgDataSize;        //水利所图像大小
    private Integer sls_imgHeaderIndex;     //水利所图像头序号
    private Integer sls_imgHeight;          //水利所图像高度
    private Integer sls_imgWidth;           //水利所图像宽度
    private String sls_imgDataBase64;   //水利所图像Base64字符

    private Integer whole_imgDataSize;      //整图图像字节数
    private Integer whole_imgHeight;        //整图图像高度
    private Integer whole_imgWidht;         //整图图像宽度
    private String whole_imgDataBase64; //整图图像的Base64字符串

    private String compressRunLogBase64;   //压缩后的运行日志
    private String runLogUrl;              //运行日志地址 2024-08-26 guozhao

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public Date getSampleTime() {
        return sampleTime;
    }

    public void setSampleTime(Date sampleTime) {
        this.sampleTime = sampleTime;
    }

    public Date getRecogTime() {
        return recogTime;
    }

    public void setRecogTime(Date recogTime) {
        this.recogTime = recogTime;
    }

    public String getAiVer() {
        return aiVer;
    }

    public void setAiVer(String aiVer) {
        this.aiVer = aiVer;
    }

    public long getAiResult() {
        return aiResult;
    }

    public void setAiResult(long aiResult) {
        this.aiResult = aiResult;
    }

    public String getRecogResult() {
        return recogResult;
    }

    public void setRecogResult(String recogResult) {
        this.recogResult = recogResult;
    }

    public Integer[][] getAiResult_array() {
        return aiResult_array;
    }

    public void setAiResult_array(Integer[][] aiResult_array) {
        this.aiResult_array = aiResult_array;
    }

    public Integer getMeterType() {
        return meterType;
    }

    public void setMeterType(Integer meterType) {
        this.meterType = meterType;
    }

    public Integer getSls_imgDataSize() {
        return sls_imgDataSize;
    }

    public void setSls_imgDataSize(Integer sls_imgDataSize) {
        this.sls_imgDataSize = sls_imgDataSize;
    }

    public Integer getSls_imgHeaderIndex() {
        return sls_imgHeaderIndex;
    }

    public void setSls_imgHeaderIndex(Integer sls_imgHeaderIndex) {
        this.sls_imgHeaderIndex = sls_imgHeaderIndex;
    }

    public Integer getSls_imgHeight() {
        return sls_imgHeight;
    }

    public void setSls_imgHeight(Integer sls_imgHeight) {
        this.sls_imgHeight = sls_imgHeight;
    }

    public Integer getSls_imgWidth() {
        return sls_imgWidth;
    }

    public void setSls_imgWidth(Integer sls_imgWidth) {
        this.sls_imgWidth = sls_imgWidth;
    }

    public String getSls_imgDataBase64() {
        return sls_imgDataBase64;
    }

    public void setSls_imgDataBase64(String sls_imgDataBase64) {
        this.sls_imgDataBase64 = sls_imgDataBase64;
    }

    public Integer getWhole_imgDataSize() {
        return whole_imgDataSize;
    }

    public void setWhole_imgDataSize(Integer whole_imgDataSize) {
        this.whole_imgDataSize = whole_imgDataSize;
    }

    public Integer getWhole_imgHeight() {
        return whole_imgHeight;
    }

    public void setWhole_imgHeight(Integer whole_imgHeight) {
        this.whole_imgHeight = whole_imgHeight;
    }

    public Integer getWhole_imgWidht() {
        return whole_imgWidht;
    }

    public void setWhole_imgWidht(Integer whole_imgWidht) {
        this.whole_imgWidht = whole_imgWidht;
    }

    public String getWhole_imgDataBase64() {
        return whole_imgDataBase64;
    }

    public void setWhole_imgDataBase64(String whole_imgDataBase64) {
        this.whole_imgDataBase64 = whole_imgDataBase64;
    }

    public String getCompressRunLogBase64() {
        return compressRunLogBase64;
    }

    public void setCompressRunLogBase64(String compressRunLogBase64) {
        this.compressRunLogBase64 = compressRunLogBase64;
    }

    public String getRunLogUrl() {
        return runLogUrl;
    }

    public void setRunLogUrl(String runLogUrl) {
        this.runLogUrl = runLogUrl;
    }

//----------END----------
}
