package com.zy.asrs.entity.param; import com.core.common.BaseRes; import com.core.exception.CoolException; /** * Created by vincent on 2020/6/13 */ public class LocMastInitParam { // 起始排 private Integer startRow; // 终止排 private Integer endRow; // 起始列 private Integer startBay; // 终止列 private Integer endBay; // 起始层 private Integer startLev; // 终止层 private Integer endLev; // 堆垛机数量 private Integer crnAmount; // 高低类型: 1:低库位 2:高库位 private Short locType1; // 宽窄类型: 1:窄库位 2:宽库位 private Short locType2; // 轻重类型: 1:轻库位 2:重库位 private Short locType3; public Integer getStartRow() { if (null == startRow) { throw new CoolException(BaseRes.PARAM); } return startRow; } public void setStartRow(Integer startRow) { this.startRow = startRow; } public Integer getEndRow() { if (null == endRow) { throw new CoolException(BaseRes.PARAM); } return endRow; } public void setEndRow(Integer endRow) { this.endRow = endRow; } public Integer getStartBay() { if (null == startBay) { throw new CoolException(BaseRes.PARAM); } return startBay; } public void setStartBay(Integer startBay) { this.startBay = startBay; } public Integer getEndBay() { if (null == endBay) { throw new CoolException(BaseRes.PARAM); } return endBay; } public void setEndBay(Integer endBay) { this.endBay = endBay; } public Integer getStartLev() { if (null == startLev) { throw new CoolException(BaseRes.PARAM); } return startLev; } public void setStartLev(Integer startLev) { this.startLev = startLev; } public Integer getEndLev() { if (null == endLev) { throw new CoolException(BaseRes.PARAM); } return endLev; } public void setEndLev(Integer endLev) { this.endLev = endLev; } public Integer getCrnAmount() { if (crnAmount == null) { throw new CoolException(BaseRes.PARAM); } return crnAmount; } public void setCrnAmount(Integer crnAmount) { this.crnAmount = crnAmount; } public Short getLocType1() { return locType1; } public void setLocType1(Short locType1) { this.locType1 = locType1; } public Short getLocType2() { return locType2; } public void setLocType2(Short locType2) { this.locType2 = locType2; } public Short getLocType3() { return locType3; } public void setLocType3(Short locType3) { this.locType3 = locType3; } }