package com.mvc.model.beihai;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.text.DecimalFormat;
import java.util.Date;

public class TRawdata {
    private Integer uid;

    private String msgUuid;

    private Date dataTime;

    private String telemetryStationCode;

    private Double voltage;

    private Double accumulatedWater;

    private Double temperature;

    private Double electricQuantity;

    private Integer runsNumber;

    private Integer runDuration;

    private Integer signalQuality;

    private String errorCode;

    private String softwareVersion;

    private Integer signalIntensity;

    private String cardNumber;

    private Integer signalNoiseRatio;

    private String hardwareNumber;

    private Integer picHeight;

    private Integer picWidth;

    private String equipName;

    private String accumulatedWaterLbl;

    @JsonIgnore
    private boolean error;

    @JsonIgnore
    private int pageSize;
    @JsonIgnore
    private int offset;
    @JsonIgnore
    private String startTime;
    @JsonIgnore
    private String endTime;

    private String picPath;
    private String compTime;

    public String getCompTime() {
        return compTime;
    }

    public void setCompTime(String compTime) {
        this.compTime = compTime;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getMsgUuid() {
        return msgUuid;
    }

    public void setMsgUuid(String msgUuid) {
        this.msgUuid = msgUuid == null ? null : msgUuid.trim();
    }

    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public String getTelemetryStationCode() {
        return telemetryStationCode;
    }

    public void setTelemetryStationCode(String telemetryStationCode) {
        this.telemetryStationCode = telemetryStationCode == null ? null : telemetryStationCode.trim();
    }

    public Double getVoltage() {
        return voltage;
    }

    public void setVoltage(Double voltage) {
        this.voltage = voltage;
    }

    public String getAccumulatedWater() {
        String format = null;
        if (accumulatedWater != null) {
            format = new DecimalFormat("0.0000").format(accumulatedWater);
        }

        return format;
    }

    public void setAccumulatedWater(Double accumulatedWater) {
        this.accumulatedWater = accumulatedWater;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Double getElectricQuantity() {
        return electricQuantity;
    }

    public void setElectricQuantity(Double electricQuantity) {
        this.electricQuantity = electricQuantity;
    }

    public Integer getRunsNumber() {
        return runsNumber;
    }

    public void setRunsNumber(Integer runsNumber) {
        this.runsNumber = runsNumber;
    }

    public Integer getRunDuration() {
        return runDuration;
    }

    public void setRunDuration(Integer runDuration) {
        this.runDuration = runDuration;
    }

    public Integer getSignalQuality() {
        return signalQuality;
    }

    public void setSignalQuality(Integer signalQuality) {
        this.signalQuality = signalQuality;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getSoftwareVersion() {
        return softwareVersion;
    }

    public void setSoftwareVersion(String softwareVersion) {
        this.softwareVersion = softwareVersion;
    }

    public Integer getSignalIntensity() {
        return signalIntensity;
    }

    public void setSignalIntensity(Integer signalIntensity) {
        this.signalIntensity = signalIntensity;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber == null ? null : cardNumber.trim();
    }

    public Integer getSignalNoiseRatio() {
        return signalNoiseRatio;
    }

    public void setSignalNoiseRatio(Integer signalNoiseRatio) {
        this.signalNoiseRatio = signalNoiseRatio;
    }

    public String getHardwareNumber() {
        return hardwareNumber;
    }

    public void setHardwareNumber(String hardwareNumber) {
        this.hardwareNumber = hardwareNumber == null ? null : hardwareNumber.trim();
    }

    public String getEquipName() {
        return equipName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public String getAccumulatedWaterLbl() {
        return accumulatedWaterLbl;
    }

    public void setAccumulatedWaterLbl(String accumulatedWaterLbl) {
        this.accumulatedWaterLbl = accumulatedWaterLbl;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }



    public Integer getPicHeight() {
        return picHeight;
    }

    public void setPicHeight(Integer picHeight) {
        this.picHeight = picHeight;
    }

    public Integer getPicWidth() {
        return picWidth;
    }

    public void setPicWidth(Integer picWidth) {
        this.picWidth = picWidth;
    }
}