package org.wcs.model.vo.serve.stacker;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class QueryStackerInfoVo {

    /**
     * 堆垛机ID
     */
    @JsonProperty(value = "stackerId")
    private Integer stackerId;

    /**
     * PLC ID
     */
    @JsonProperty(value = "plcId")
    private Integer plcId;

    /**
     * 堆垛机名称
     */
    @JsonProperty(value = "stackerName")
    private String stackerName;

    /**
     * 堆垛机状态
     */
    @JsonProperty(value = "stackerStatus")
    private Integer stackerStatus;

    /**
     * 货叉状态
     */
    @JsonProperty(value = "forkStatus")
    private String forkStatus;

    /**
     * 是否允许入库
     */
    @JsonProperty(value = "allowIn")
    private Integer allowIn;

    /**
     * 是否允许出库
     */
    @JsonProperty(value = "allowOut")
    private Integer allowOut;

    /**
     * 是否允许移库
     */
    @JsonProperty(value = "allowMove")
    private Integer allowMove;

    /**
     * 动作节拍
     */
    @JsonProperty(value = "actionBeat")
    private String actionBeat;

    /**
     * 读状态地址
     */
    @JsonProperty(value = "readStatusAddress")
    private String readStatusAddress;

    /**
     * 写任务地址
     */
    @JsonProperty(value = "writeTaskAddress")
    private String writeTaskAddress;

    /**
     * 写任务确认地址
     */
    @JsonProperty(value = "taskConfirmAddress")
    private String taskConfirmAddress;

    /**
     * 任务状态地址
     */
    @JsonProperty(value = "taskStatusAddress")
    private String taskStatusAddress;

    /**
     * 创建时间
     */
    @JsonProperty(value = "createTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @JsonProperty(value = "updateTime")
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @JsonProperty(value = "remark")
    private String remark;
}
