doum
6 天以前 2b287056e2f59518888d05a1bbc7e5a55fbd84d5
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
package com.doumee.keyCabinet.event;
 
public class RecycleResultEvent {
    //0:不能归还;1:还⼿环忙碌提醒;2:还⼿环成功;3:还⼿环失败;4:倒计时
    private int state;
    private String msg;
    private int countDown;
    private boolean isTk;
 
    public RecycleResultEvent(int state) {
        this.state = state;
    }
 
    public RecycleResultEvent(int state, String msg) {
        this.state = state;
        this.msg = msg;
    }
 
    public RecycleResultEvent(int state, int countDown) {
        this.state = state;
        this.countDown = countDown;
    }
 
    public RecycleResultEvent(int state, boolean isTk) {
        this.state = state;
        this.isTk = isTk;
    }
 
    public int getState() {
        return state;
    }
 
    public void setState(int state) {
        //0:不能归还;1:还⼿环忙碌提醒;2:还⼿环成功;3:还⼿环失败;4:倒计时
        this.state = state;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public int getCountDown() {
        return countDown;
    }
 
    public void setCountDown(int countDown) {
        this.countDown = countDown;
    }
 
    public boolean isTk() {
        return isTk;
    }
 
    public void setTk(boolean tk) {
        isTk = tk;
    }
}