[charter]
[3.2.0] [参数添加]
This commit is contained in:
@@ -267,7 +267,7 @@ public class OrderModel {
|
||||
}
|
||||
|
||||
if (list != null && list.contains(2)){ //乘客屏
|
||||
AppConnectMsg msg = new AppConnectMsg(true,false,obj.getContext());
|
||||
AppConnectMsg msg = new AppConnectMsg(true,false,obj.getContext(),-1);
|
||||
CallerTelematicManager.INSTANCE.sendMsgToAllClients(OchCommonConst.BUSINESS_STRING,
|
||||
GsonUtils.toJson(msg).getBytes());
|
||||
}
|
||||
@@ -844,7 +844,7 @@ public class OrderModel {
|
||||
private void sendArrivedStationToClient(String arriveStation) {
|
||||
AppConnectMsg arrivedMsg = new AppConnectMsg(false,true,String.format(mContext
|
||||
.getString(R.string.bus_arrived_station_tip),
|
||||
arriveStation));
|
||||
arriveStation),-1);
|
||||
CallerTelematicManager.INSTANCE.sendMsgToAllClients(OchCommonConst.BUSINESS_STRING,
|
||||
GsonUtils.toJson(arrivedMsg).getBytes());
|
||||
}
|
||||
@@ -852,7 +852,7 @@ public class OrderModel {
|
||||
private void sendStartStationToClient(String nextStation) {
|
||||
AppConnectMsg startMsg = new AppConnectMsg(false,true,String.format(mContext
|
||||
.getString(R.string.bus_leave_station_tip),
|
||||
nextStation));
|
||||
nextStation),-1);
|
||||
|
||||
UiThreadHandler.postDelayed(()->
|
||||
CallerTelematicManager.INSTANCE.sendMsgToAllClients(OchCommonConst.BUSINESS_STRING,
|
||||
@@ -861,14 +861,14 @@ public class OrderModel {
|
||||
|
||||
private void sendEndTaskToClient() {
|
||||
AppConnectMsg endMsg = new AppConnectMsg(false,true,mContext
|
||||
.getString(R.string.bus_end_task_tip));
|
||||
.getString(R.string.bus_end_task_tip),-1);
|
||||
|
||||
CallerTelematicManager.INSTANCE.sendMsgToAllClients(OchCommonConst.BUSINESS_STRING,
|
||||
GsonUtils.toJson(endMsg).getBytes());
|
||||
}
|
||||
|
||||
public void sendWriteOffNumToClient(String msg){
|
||||
AppConnectMsg passengerMsg = new AppConnectMsg(false,true,msg);
|
||||
AppConnectMsg passengerMsg = new AppConnectMsg(false,true,msg,-1);
|
||||
|
||||
CallerTelematicManager.INSTANCE.sendMsgToAllClients(OchCommonConst.BUSINESS_STRING,
|
||||
GsonUtils.toJson(passengerMsg).getBytes());
|
||||
|
||||
Reference in New Issue
Block a user