| File was renamed from ard-work/src/main/java/com/ard/tianyu/netty/command/camera/RecordStopReplyCommand.java |
| | |
| | | package com.ard.tianyu.netty.command.camera; |
| | | |
| | | import com.ard.tianyu.netty.command.BaseCommand; |
| | | import com.ard.tianyu.netty.command.BaseCmd; |
| | | import io.netty.buffer.ByteBuf; |
| | | import lombok.Data; |
| | | |
| | |
| | | * @date 2024年10月25日14:44 |
| | | **/ |
| | | @Data |
| | | public class RecordStopReplyCommand extends BaseCommand { |
| | | public class RecordStopReplyCmd extends BaseCmd { |
| | | private final byte encryptFlag = 0x00; // 加密标志 |
| | | private final byte actionCode = 0x25; // 动作编号 |
| | | private final byte result; // 执行结果 |
| | | private final Integer errorCode; // 错误码 |
| | | |
| | | public RecordStopReplyCommand(String boxSn, Byte result, Integer errorCode) { |
| | | public RecordStopReplyCmd(String boxSn, Byte result, Integer errorCode) { |
| | | setDataHeader((short) 0x6A77); |
| | | //setDataLength((short) 18); |
| | | setCmdCode((byte) 0xD1); |