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
package safeluck.drive.evaluation;
 
/**
 * MyApplication2
 * Created by lzw on 2020/1/7. 18:01:40
 * 邮箱:632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
public class Constant {
    //1.NDK启动指示
    public static final int NDK_START= 0x0001;
    //2.获取RTK平台信息
    public static final int FETCH_RTK_PLATFORM_INFO= 0x0002;
    //3.推送RTK平台信息
    public static final int  PUSH_RTK_PLATFORM_INFO= 0x8002;
    //4.RTK平台连接状态
    public static final int RTK_PLATFORM_CONNECT_STATUS = 0x0003;
    //5.RTK平台注册状态
    public static final int RTK_PLATFORM_REGISTER_STATUS = 0x0004;
//6.RTK平台登录结果
    public static final int RTK_PLATFORM_REGISTER_RESULT = 0x0005;
    //7.获取地图信息
    public static final int FETCH_MAP_INFO = 0x0006;
    //8.推送地图
    public static final int PUSH_MAP_INFO = 0x8006;
 
    //9.请求车辆轮廓信息
    public static final int  REQ_VECHILE_PROFILE = 0x0007;
    //10.推送车辆轮廓信息
    public static final int PUSH_VECHILE_PROFILE = 0x8007;
 
    //11.请求开关量配置表
    public static final int SIGNAL_CONFIG_TABLE = 0x0008;
    //12.下发开关量配置表
    public static final int SIGNAL_CONFIG_RESULT = 0x8008;
    //13.开始考试{"exam":0}  int    0-结束       1-开始
    public static final int EXAM_STATUS = 0x8009;
    //14.NDK考试应答
    public static final int EXAM_STATUS_REPLY = 0x0009;
    //15.GPS信息
    public static final int GPS_INFO = 0x000A;
    //16.RTK信息
    public static final int RTK_INFO = 0x000b;
    //17.评判信息[{"wrong_id":0},{"wrong_id":3}]
    public static final int JUDGE_INFO = 0x000c;
 
    public static final String RTK_CONFIG_JSON = "rtk_config.json";
    public static final String BIND_DRIVING_TOPIC = "driving";
    public static final long TEST_STU_ID = 1001;
}