DirectiveService.java
2.28 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
83
84
85
86
87
88
89
90
91
92
package com.bsth.service.directive;
import java.util.List;
import java.util.Map;
import com.bsth.entity.directive.D60;
import com.bsth.entity.directive.D64;
import com.bsth.entity.directive.D80;
import com.bsth.entity.directive.DC0_A3;
import com.bsth.entity.realcontrol.ScheduleRealInfo;
import com.bsth.service.BaseService;
public interface DirectiveService extends BaseService<D60, 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, String 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 sendD60ToPage(ScheduleRealInfo sch);
Map<String, List<D80>> findNoCofm80(String lineCodes);
Map<String, Object> reply80(int id, int reply);
Map<String, Object> findDirective(String nbbm, int dType, int page, int size);
Map<String, Object> findAll80(Map<String, Object> map, int page, int size);
D64 save64(D64 d64);
int sendC0A4(String nbbm);
int sendC0A3(DC0_A3 c0a4);
int sendC0A5(String json);
}