package com.dji.sample.control.model.param;
|
|
import com.dji.sdk.cloudapi.device.PayloadIndex;
|
import lombok.Data;
|
|
import javax.validation.constraints.Max;
|
import javax.validation.constraints.Min;
|
import javax.validation.constraints.NotNull;
|
/**
|
* @author wmm
|
* @version 0.1
|
* @date 2024/5/8
|
*/
|
@Data
|
public class IrMeteringPointSetParam {
|
|
/**
|
* Camera enumeration.
|
* It is unofficial device_mode_key.
|
* The format is *{type-subtype-gimbalindex}*.
|
* Please read [Product Supported](https://developer.dji.com/doc/cloud-api-tutorial/en/overview/product-support.html)
|
*/
|
@NotNull
|
private PayloadIndex payloadIndex;
|
|
/**
|
* The coordinate x of the temperature measurement point is the upper left corner of the lens as the coordinate center point, and the horizontal direction is x.
|
*/
|
@NotNull
|
@Min(0)
|
@Max(1)
|
private Float x;
|
|
/**
|
* The coordinate y of the temperature measurement point is the upper left corner of the lens as the coordinate center point, and the vertical direction is y.
|
*/
|
@NotNull
|
@Min(0)
|
@Max(1)
|
private Float y;
|
|
}
|