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

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

/**
 * Q20相机焦距设置DTO
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(name = "Q20相机焦距参数")
public class Q20CameraFocalLengthDTO {

    @Schema(description = "负载索引, JSON key: payload_index")
    private int payloadIndex;

    @Schema(description = "设备id, JSON key: device_id")
    private long deviceId;

    @Schema(description = "相机类型: ir/wide/zoom/visible, JSON key: camera_type")
    private String cameraType;

    @Schema(description = "变焦倍数: 可见光2-200, 红外2-20; 连续变焦时范围-10~10, JSON key: zoom_factor")
    private Double zoomFactor;

    @Schema(description = "变焦类型: 0=绝对值, 1=连续, JSON key: zoom_type")
    private int zoomType;

    @Schema(description = "变焦模式: 0=数字(默认), 1=光学, JSON key: zoom_mode")
    private int zoomMode;
}
