package com.future.dispatch.base; public class BaseEvent { // showDialog() // val map: HashMap = 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 SELECT_POINT_SITE = 10001; //选择 站点 public static final int SELECT_LINE_SITE = 10002; // 选择线路 public static final int SELECT_CLASS_SITE = 10003; // 选择班次 public static final int SELECT_POINT_SITE_DETAIL = 10004; // 选择上车点 选择下车点 public static final int SELECT_SEARCH_SITE = 10005; // 搜索地点选择 public static final int FILTER_LIST_ORDER = 10006; // 筛选条件 专车或跨城 public static final int FILTER_CHANGE_ORDER = 10007; // 订单改派完成 private String msg; private int code; private int type; private String msgTwo; private String msgthree; 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,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 getMsgthree() { return msgthree; } public void setMsgthree(String msgthree) { 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; } }