package com.zy.asrs.entity.param; import java.util.ArrayList; import java.util.List; /** * Created by vincent on 2020/6/13 */ public class StaDescInitParam { // 堆垛机号 private Integer crnNo; // 格式化开关(打开删除老数据) private Integer typeDesc = 0; // 入库 private Integer typeDesc1 = 0; // 空板入库 private Integer typeDesc10 = 0; // 拣料盘点入库 private Integer typeDesc53 = 0; // 出库 private Integer typeDesc101 = 0; // 空板出库 private Integer typeDesc110 = 0; // 拣料盘点出库 private Integer typeDesc103 = 0; private String startStaList = ""; private String endStaList = ""; public String getStartStaList() { return startStaList; } public void setStartStaList(String startStaList) { this.startStaList = startStaList; } public String getEndStaList() { return endStaList; } public void setEndStaList(String endStaList) { this.endStaList = endStaList; } public Integer getCrnNo() { return crnNo; } public void setCrnNo(Integer crnNo) { this.crnNo = crnNo; } public Integer getTypeDesc() { return typeDesc; } public void setTypeDesc(Integer typeDesc) { this.typeDesc = typeDesc; } public Integer getTypeDesc1() { return typeDesc1; } public void setTypeDesc1(Integer typeDesc1) { this.typeDesc1 = typeDesc1; } public Integer getTypeDesc10() { return typeDesc10; } public void setTypeDesc10(Integer typeDesc10) { this.typeDesc10 = typeDesc10; } public Integer getTypeDesc53() { return typeDesc53; } public void setTypeDesc53(Integer typeDesc53) { this.typeDesc53 = typeDesc53; } public Integer getTypeDesc101() { return typeDesc101; } public void setTypeDesc101(Integer typeDesc101) { this.typeDesc101 = typeDesc101; } public Integer getTypeDesc110() { return typeDesc110; } public void setTypeDesc110(Integer typeDesc110) { this.typeDesc110 = typeDesc110; } public Integer getTypeDesc103() { return typeDesc103; } public void setTypeDesc103(Integer typeDesc103) { this.typeDesc103 = typeDesc103; } public List getType(){ List type = new ArrayList<>(); if (this.typeDesc1==1){ type.add(1); } if (this.typeDesc10==1){ type.add(10); } if (this.typeDesc53==1){ type.add(53); type.add(57); } if (this.typeDesc101==1){ type.add(101); } if (this.typeDesc110==1){ type.add(110); } if (this.typeDesc103==1){ type.add(103); type.add(107); } return type; } }