package safeluck.drive.evaluation.bean; /** * 注册消息 * MyApplication2 * Created by lzw on 2019/12/17. 17:51:44 * 邮箱:632393724@qq.com * All Rights Saved! Chongqing AnYun Tech co. LTD */ public class RegisterMessage extends DriveExamProtocol { private static final int BODY_LENGTH = 3; /** * 构造函数 * * @param msg_id 消息ID */ public RegisterMessage(short msg_id) { super(msg_id); } @Override protected int msgBodyLength() { return BODY_LENGTH; } @Override protected byte[] createMessageBody() { byte[] messageBody = new byte[BODY_LENGTH]; messageBody[0] = 0x7E; messageBody[1] = 0x66; return messageBody; } }