package com.zhaoyang.driver.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 CALL_NUM_MAIN = 11022; //刷新首页 部分数据
|
|
public static final int REFREASH_MAIN = 11023; //刷新首页列表
|
|
public static final int CITY_CHANGE_ORDER = 11024; //跨城 切换子订单
|
|
|
public static final int SELECT_POINT_SITE = 10025; //选择 站点
|
|
public static final int SELECT_LINE_SITE = 10026; // 选择线路
|
|
public static final int SELECT_CLASS_SITE = 10027; // 选择班次
|
|
public static final int SELECT_POINT_SITE_DETAIL = 10028; // 选择上车点 选择下车点
|
|
public static final int SELECT_SEARCH_SITE = 10029; // 搜索地点选择
|
|
|
private String msg;
|
private int code;
|
private int type;
|
private String msgTwo;
|
private int typeTwo;
|
private String msgthree;
|
|
public String getMsgthree() {
|
return msgthree;
|
}
|
|
public void setMsgthree(String msgthree) {
|
this.msgthree = msgthree;
|
}
|
|
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, String msg) {
|
this.msg = msg;
|
this.code = code;
|
}
|
|
public BaseEvent(int code, int type, int typeTwo) {
|
this.code = code;
|
this.type = type;
|
this.typeTwo = typeTwo;
|
}
|
|
public BaseEvent(int code, String msg, String msgTwo, String msgthree) {
|
this.msg = msg;
|
this.code = code;
|
this.msgTwo = msgTwo;
|
this.msgthree = msgthree;
|
}
|
|
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;
|
}
|
}
|