8.7
liugl
2020-08-07 386c12bc80d17252ea05b7bf1cb2e85db2e46767
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
package com.okgoincar.base;
 
public class BaseEvent {
 
    //        showDialog()
//        val map: HashMap<String, Any> = HashMap()
//        map["type"] = "1"
//        HttpManager.getInstance().post(Api.getParamInfo, map, object : MyObserver(this) {
//            override fun success(responseString: String?) {
//                var banner: BannerBean = Gson().fromJson(responseString, BannerBean::class.java)
//                dismissDialog()
//            }
//
//        })
    public static final int PAY_SUCCESS = 11000; //微信支付成功
 
    public static final int OUT_APP = 10000;
 
    public static final int CLOSE_ACT_SAFE_VER = 10001;
 
    public static final int START_CAR = 10003; //出车成功
 
    public static final int REAGASSIGN_SUCCESS = 10004; //改派成功
 
    public static final int CHANGE_CAR_SUCCESS = 10005; //更换车辆
 
    public static final int WEIXIN_BACK = 11019; //微信页关闭
 
    public static final int  UPDATA_MAIN_CAR = 11020; //刷新首页列表
 
    public static final int  BACK_CAR_OVER = 11021; //重打车结束页面返回到首页
 
    public static final int  REQUEST_CAR_INFO = 11024; //收到显示屏信息
 
    public static final int  UP_TRIP = 11025; //收到重车指令 刷新出行页面
 
    public static final int  SURE_MONEY= 11026; //收到价格 结束行程
 
    public static final int  ERROR_INFO= 11027; //上传了错误订单
 
    private String msg;
    private int code;
    private int type;
    private String msgTwo;
    private int typeTwo;
 
    public int getTypeTwo() {
        return typeTwo;
    }
 
 
    public void setTypeTwo(int typeTwo) {
        this.typeTwo = typeTwo;
    }
 
    public BaseEvent(int code) {
        this.code = code;
    }
 
    public BaseEvent(int code, int type) {
        this.code = code;
        this.type = type;
    }
 
    public BaseEvent(int code, String msg, String msgTwo) {
        this.msg = msg;
        this.code = code;
        this.msgTwo = msgTwo;
    }
 
    public BaseEvent(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }
 
    public BaseEvent(int code, int type, int typeTwo) {
        this.code = code;
        this.type = type;
        this.typeTwo = typeTwo;
    }
 
    public String getMsgTwo() {
        return msgTwo;
    }
 
    public void setMsgTwo(String msgTwo) {
        this.msgTwo = msgTwo;
    }
 
    public int getCode() {
        return code;
    }
 
    public void setCode(int code) {
        this.code = code;
    }
 
    public BaseEvent(String msg) {
        this.msg = msg;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public int getType() {
        return type;
    }
 
    public void setType(int type) {
        this.type = type;
    }
}