cl
12 小时以前 ab08f2e28057e226ba42b3268ed36ac489cef34e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
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;
    }
}