| | |
| | | private String bgc = "#fff"; |
| | | // 字体颜色 |
| | | private String color = "#666"; |
| | | private Integer row1; |
| | | private Integer lev1; |
| | | private Short locType2; |
| | | |
| | | public ViewLocMapDto() { |
| | | } |
| | |
| | | this.locNo = locNo; |
| | | this.bay1 = bay1; |
| | | this.locSts = locSts; |
| | | } |
| | | |
| | | public Short getLocType2() { |
| | | return locType2; |
| | | } |
| | | |
| | | public void setLocType2(Short locType2) { |
| | | this.locType2 = locType2; |
| | | } |
| | | |
| | | public String getLocNo() { |
| | |
| | | |
| | | public Integer getBay1() { |
| | | return bay1; |
| | | } |
| | | public Integer getRow1() { |
| | | return row1; |
| | | } |
| | | public Integer getLev1() { |
| | | return lev1; |
| | | } |
| | | |
| | | public void setBay1(Integer bay1) { |
| | |
| | | this.bgc = "#bac296"; |
| | | this.color = "#fff"; |
| | | break; |
| | | case "G": |
| | | this.bgc = "#90EE90"; // 浅绿色 |
| | | this.color = "#000"; // 字体颜色(建议深色以保证对比度) |
| | | break; |
| | | default: |
| | | break; |
| | | } |
| | |
| | | public void setColor(String color) { |
| | | this.color = color; |
| | | } |
| | | |
| | | } |