package com.multictrl.modules.business.q20.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * Q20飞机在线状态响应
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(name = "Q20飞机在线状态")
public class Q20DeviceStatusVO {

    @Schema(description = "设备序列号")
    private String deviceSn;

    @Schema(description = "是否在线（35s内有心跳则为true）")
    private boolean online;

    @Schema(description = "最新OSD基础遥测数据(method=osd)，仅在线时有值")
    private Object osd;

    @Schema(description = "最新RTK定位数据(method=rtk)，仅在线时有值")
    private Object rtk;

    @Schema(description = "最新遥控链路数据(method=rc)，仅在线时有值")
    private Object rc;

    @Schema(description = "最新避障数据(method=obs)，仅在线时有值")
    private Object obs;

    @Schema(description = "最新负载数据(method=mount)，仅在线时有值")
    private Object mount;

    @Schema(description = "最新电池数据列表(method=battery，按电池id聚合)，仅在线时有值")
    private Object batteries;
}
