liusuyi
2024-10-25 91f6e60919b92b7f99a41f2ddeb42df17cd0c487
ard-work/src/main/java/com/ard/tianyu/netty/command/UavReadyNotificationCommand.java
File was renamed from ard-work/src/main/java/com/ard/tianyu/netty/command/DroneReadyNotificationCommand.java
@@ -11,12 +11,12 @@
 * @date 2024/10/24 17:18
 */
@Data
public class DroneReadyNotificationCommand extends BaseCommand {
public class UavReadyNotificationCommand extends BaseCommand {
    private byte actionCode;
    private TelemetryDataPB.UavInitInfo uavInitInfo;
    public DroneReadyNotificationCommand(String boxSn,TelemetryDataPB.UavInitInfo uavInitInfo, byte actionCode) {
    public UavReadyNotificationCommand(String boxSn, TelemetryDataPB.UavInitInfo uavInitInfo, byte actionCode) {
        setDataHeader((short) 0x6A77); // 设置帧头
        // setDataLength((short) (1 + uavState.toByteArray().length)); // 数据长度
        setBoxSn(boxSn.getBytes());