package safeluck.drive.evaluation;
|
|
import org.jetbrains.annotations.NotNull;
|
|
/**
|
* 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_topic";
|
public static final long TEST_STU_ID = 1001;
|
|
//I类评判表
|
public static final int SUBJECT_I = 1;
|
public static final String MAP = "map.json";
|
public static final String VEHICLE = "vehiclemodel.json";
|
public static final String BIND_RTKCONFIG_TOPIC = "rtkconfig_topic";
|
|
public static final String BIND_CONNECT_RTK_TOPIC = "rtk_connect_login_topic";
|
public static final String GPS_INFO_DATA = "gps_info_data";
|
public static final String APP_STATUS = "app_status_db_input";
|
public static final String RTK_LOGIN_CODE_COLUMN = "RTK_LOGIN_CODE_COLUMN";
|
public static final String RTK_CONN_STATUS_COLUMN = "RTK_CONN_STATUS_COLUMN";
|
public static final String WORK_PLATFORM_STATUS_COLUMN = "WORK_PLATFORM_STATUS_COLUMN";
|
|
public static final int ENTER_OR_EXIT_ITEM = 0x000D;
|
public static final int NONE_BEEN_START_EXAM = 0; //没有考试
|
public static final int REAL_TIME_CAR_POS = 0x000E;
|
public static final String REAL_TIME_POS_CAR_TOPIC = "real_time_car_pos_topic";
|
public static final String BIND_SPEED_TOPIC = "BIND_SPEED_TOPIC";
|
public static final int PASSING_SCORE = 80;
|
public static final int DEBUG_RTCM = 0x000f;
|
public static final int DEBUG_TXT = 0x0010;
|
public static final String BIND_RTCM_TOPIC = "BIND_RTCM_TOPIC";
|
public static final String BIND_DEBUG_TXT = "BIND_DEBUG_TXT";
|
public static final int UPGRADE_MCU_CONTENT_FILE = 0x8100;
|
public static final String MCU_FILE_NAME = "dfu.bin";
|
public static final int MCU_SN = 8;
|
public static final int IC_ID = 0x0011;//4. 返回IC卡信息
|
|
public static final int SEND_CONFIG_SIGNAL = 0x8008;
|
public static final String STU_INFO_PLATFORM = "STU_INFO_PLATFORM";
|
public static final int SHUTDOWN_TIME = 16;
|
public static final int READ_PHYSICAL_ID = 0x8011;//4. 读取IC卡
|
public static final String BIND_MCUINFO_TOPIC = "bind_mcu_info_topic";
|
public static final String BIND_RTK_SPEED_TOPIC = "BIND_RTK_SPEED_TOPIC";
|
public static final int EXIT_CURRENT_ITEM = 0;//退出某场地
|
public static String exam_enter_exitdata="exam_enter_exitdata";
|
public static int Chang_di = 2;
|
public static int DaoLu_night = 3;
|
public static int DaoLu = 4;
|
@NotNull
|
public static final String TIME_MINUTE = "show_time_minute";
|
}
|