| File was renamed from ard-work/src/main/java/com/ard/tianyu/netty/command/register/UavInitInfoCommand.java |
| | |
| | | package com.ard.tianyu.netty.command.register; |
| | | |
| | | import com.ard.tianyu.netty.command.BaseCommand; |
| | | import com.ard.tianyu.netty.command.BaseCmd; |
| | | import io.netty.buffer.ByteBuf; |
| | | import lombok.Data; |
| | | |
| | |
| | | */ |
| | | |
| | | @Data |
| | | public class UavInitInfoCommand extends BaseCommand { |
| | | public class UavInitInfoCmd extends BaseCmd { |
| | | |
| | | private final byte encryptFlag; // 加密标志 |
| | | private final byte actionCode; // 动作编号 |
| | | private final byte result; // 执行结果 |
| | | |
| | | public UavInitInfoCommand(byte[] boxSn) { |
| | | public UavInitInfoCmd(byte[] boxSn) { |
| | | setDataHeader((short) 0x7479); |
| | | setDataLength((short) 19); |
| | | setCmdCode((byte) 0xD1); |