package com.zy.asrs.entity;
|
|
/**
|
* 库位热力图单元
|
*/
|
public class ViewLocMapDto {
|
|
private String locNo;
|
private Integer bay1;
|
private String locSts;
|
private String maktx;
|
private String itemBarcodes;
|
private String pltBarcodes;
|
private String bgc = "#fff";
|
private String color = "#666";
|
|
public ViewLocMapDto() {
|
}
|
|
public ViewLocMapDto(String locNo, Integer bay1, String locSts) {
|
this.locNo = locNo;
|
this.bay1 = bay1;
|
this.locSts = locSts;
|
}
|
|
public String getLocNo() {
|
return locNo;
|
}
|
|
public void setLocNo(String locNo) {
|
this.locNo = locNo;
|
}
|
|
public Integer getBay1() {
|
return bay1;
|
}
|
|
public void setBay1(Integer bay1) {
|
this.bay1 = bay1;
|
}
|
|
public String getLocSts() {
|
return locSts;
|
}
|
|
public String getMaktx() {
|
return maktx;
|
}
|
|
public void setMaktx(String maktx) {
|
this.maktx = maktx;
|
}
|
|
public String getItemBarcodes() {
|
return itemBarcodes;
|
}
|
|
public void setItemBarcodes(String itemBarcodes) {
|
this.itemBarcodes = itemBarcodes;
|
}
|
|
public String getPltBarcodes() {
|
return pltBarcodes;
|
}
|
|
public void setPltBarcodes(String pltBarcodes) {
|
this.pltBarcodes = pltBarcodes;
|
}
|
|
public void setLocSts(String locSts) {
|
this.locSts = locSts;
|
switch (locSts) {
|
case "D":
|
this.bgc = "#00B271";
|
this.color = "#fff";
|
break;
|
case "F":
|
this.bgc = "#479AC7";
|
this.color = "#fff";
|
break;
|
case "O":
|
this.bgc = "#B45B3E";
|
this.color = "#fff";
|
break;
|
case "P":
|
this.bgc = "#66CCCC";
|
this.color = "#fff";
|
break;
|
case "Q":
|
this.bgc = "#5172ef";
|
this.color = "#fff";
|
break;
|
case "R":
|
this.bgc = "#D7FFF0";
|
this.color = "#000";
|
break;
|
case "S":
|
this.bgc = "#F0DAD2";
|
this.color = "#000";
|
break;
|
case "X":
|
this.bgc = "#bac296";
|
this.color = "#fff";
|
break;
|
default:
|
break;
|
}
|
}
|
|
public String getBgc() {
|
return bgc;
|
}
|
|
public void setBgc(String bgc) {
|
this.bgc = bgc;
|
}
|
|
public String getColor() {
|
return color;
|
}
|
|
public void setColor(String color) {
|
this.color = color;
|
}
|
}
|