package com.aucma.report.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

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

/**
 * 模具/物料/产品切换追溯VO
 *
 * @author Codex
 */
public class DeviceParamSwitchTraceVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String deviceCode;

    private String deviceName;

    private String switchType;

    private String paramCode;

    private String paramName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date changeTime;

    private String beforeValue;

    private String afterValue;

    private Integer observeMinutes;

    /** 切换后观察窗口内产量增量 */
    private Double outputIncrement;

    /** 切换后观察窗口内异常次数 */
    private Long abnormalCount;

    /** 切换后最近设备状态 */
    private String latestStatus;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getSwitchType() {
        return switchType;
    }

    public void setSwitchType(String switchType) {
        this.switchType = switchType;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public Date getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(Date changeTime) {
        this.changeTime = changeTime;
    }

    public String getBeforeValue() {
        return beforeValue;
    }

    public void setBeforeValue(String beforeValue) {
        this.beforeValue = beforeValue;
    }

    public String getAfterValue() {
        return afterValue;
    }

    public void setAfterValue(String afterValue) {
        this.afterValue = afterValue;
    }

    public Integer getObserveMinutes() {
        return observeMinutes;
    }

    public void setObserveMinutes(Integer observeMinutes) {
        this.observeMinutes = observeMinutes;
    }

    public Double getOutputIncrement() {
        return outputIncrement;
    }

    public void setOutputIncrement(Double outputIncrement) {
        this.outputIncrement = outputIncrement;
    }

    public Long getAbnormalCount() {
        return abnormalCount;
    }

    public void setAbnormalCount(Long abnormalCount) {
        this.abnormalCount = abnormalCount;
    }

    public String getLatestStatus() {
        return latestStatus;
    }

    public void setLatestStatus(String latestStatus) {
        this.latestStatus = latestStatus;
    }
}
