| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- package com.tmzn.devicelinkykc.transdata.constant;
- /**
- * 汽车单双枪 充电常量
- */
- public class NormalChargeConstant{
- //发送主题指令
- public static final String SEND_TOPIC = "d_wt1206_d2113/";
- //获取主板消息
- public static final String GET_MAINBOARD_MSG = "[85,96,1,0,97]";
- //重启设备
- public static final String RESTART_DEVICE = "[85,117,1,0,118]";
- //端口详情
- public static final String PORT_DETAIL = "[85,103,1,0,104]";
- //命令方为 85
- public static final Integer CMD_SEND = 85;
- //读取主板参数
- public static final Integer CMD_SET_MAINBOARD = 75960;
- //开始充电
- public static final Integer CMD_START_CHARGE = 75960;
- //结束充电
- public static final Integer CMD_STOP_CHARGE = 75960;
- //---------配置文件名称
- public static final String CONFIG_DIR = "config";
- //发送消息
- public static final String CONFIG_SEND_SUFFIX = "send";
- //返回消息
- public static final String CONFIG_BACK_SUFFIX = "back";
- //配置文件名称 主板
- public static final String CONFIG_MAINBOARD_FILENAME = "mainboard";
- //预约充电
- public static final String CONFIG_PLANCHARGE_FILENAME = "plancharge";
- //开始充电
- public static final String CONFIG_STARTCHARTGE_FILENAME = "startcharge";
- //结束充电
- public static final String CONFIG_ENDCHARGE_FILENAME = "endcharge";
- //结束充电通知
- public static final String CONFIG_ENDNOTICE_FILENAME = "endchargenotice";
- //重启设备
- public static final String CONFIG_RESTART_DEVICE = "restartdeivce";
- //端口状态
- public static final String CONFIG_PORT_STATUS = "portstatus";
- //双枪端口详情
- public static final String CONFIG_PORT_DETAIL_DOUBLE = "portdetaildouble";
- //单枪端口详情
- public static final String CONFIG_PORT_DETAIL_SINGLE = "portdetailsingle";
- //端口上报
- public static final String CONFIG_PORT_REPORT = "portreport";
- //远程禁用或者开启端口
- public static final String CONFIG_PORT_OPER = "portoper";
- //----------配置文件结束
- //各个指令key
- //主板
- public static final Integer KEY_MAINBOARD = 96;
- //开启充电
- public static final Integer KEY_STARTCHARGE = 104;
- //结束充电
- public static final Integer KEY_ENDCHARGE = 105;
- //结束充电通知
- public static final Integer KEY_END_NOTICE = 113;
- //重启充电桩
- public static final Integer KEY_RESTART_DEVICE = 117;
- //端口状态
- public static final Integer KEY_PORT_STATUS = 101;
- //端口详情
- public static final Integer KEY_PORT_DETAIL = 103;
- //端口详情
- public static final Integer KEY_PORT_DETAIL_EXTEND = 163;
- //主动上报详情
- public static final Integer KEY_PORT_REPORT = 115;
- //远程禁用或者开启端口
- public static final Integer KEY_PORT_OPER = 112;
- /**
- * 急停停充
- */
- public static final Integer EMERGENCY_STOP_CHARGING = 123;
- //上电1分钟后主动上报主板版本号和所有端口状态
- public static final Integer REPORT_PORT_STATUS = 114;
- //启充停充上报端口状态
- public static final Integer PORT_STATUS = 116;
- //各个指令key --- end
- }
|