DirectiveService.java
2.14 KB
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
package com.bsth.vehicle.directive.service;
import java.util.List;
import java.util.Map;
import com.bsth.entity.realcontrol.ScheduleRealInfo;
import com.bsth.service.BaseService;
import com.bsth.vehicle.directive.entity.Directive60;
import com.bsth.vehicle.directive.entity.Directive80;
public interface DirectiveService extends BaseService<Directive60, Integer>{
/**
*
* @Title: send60Phrase
* @Description: TODO(60短语下发)
* @param @param nbbm 车辆内部编码
* @param @param text 短语
* @return int 返回类型
* @throws
*/
int send60Phrase(String nbbm, String text, String sender);
/**
*
* @Title: send60Dispatch
* @Description: TODO(调度指令下发)
* @param @param sch 要下发的班次
* @param @param finish 已完成的班次数
* @throws
*/
int send60Dispatch(ScheduleRealInfo sch, int finish, String sender);
/**
*
* @Title: send60Dispatch
* @Description: TODO(调度指令下发)
* @param @param id 班次ID
* @throws
*/
int send60Dispatch(Long id, String sender);
//60营运指令
int send60Operation(String nbbm, int state, int upDown, ScheduleRealInfo sch, String sender);
/**
*
* @Title: lineChange
* @Description: TODO(线路切换)
* @param @param nbbm 车辆内部编码
* @param @param lineId 新线路编码
* @throws
*/
int lineChange(String nbbm, Integer lineId, String sender);
/**
*
* @Title: upDownChange
* @Description: TODO(切换上下行)
* @param @param nbbm 车辆内部编码
* @param @param upDonw 上下行 0 上行 1 下行
* @throws
*/
int upDownChange(String nbbm, Integer upDown, String sender);
/**
*
* @Title: sendDirectiveState
* @Description: TODO(向页面推送班次指令状态)
* @throws
*/
void sendDirectiveToPage(ScheduleRealInfo sch);
Map<String, List<Directive80>> findNoCofm80(String lineCodes);
Map<String, Object> reply80(int id, int reply);
Map<String, Object> findDirective(String nbbm, int dType, int page, int size);
String createDeviceRefreshData(String deviceId, Integer lineId);
}