wangmengmeng
2024-12-24 24432a361d5c6bd6f3d8c008693e9f1155d62517
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
package com.dji.sdk.cloudapi.control;
 
import com.dji.sdk.cloudapi.device.PayloadIndex;
import com.dji.sdk.common.BaseModel;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
 
/**
 * @author sean
 * @version 1.9
 * @date 2023/12/12
 */
public class IrMeteringAreaSetRequest extends BaseModel {
 
    /**
     * 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;
 
    /**
     * Temperature measurement area width
     */
    @NotNull
    @Min(0)
    @Max(1)
    private Float width;
 
    /**
     * Temperature measurement area height
     */
    @NotNull
    @Min(0)
    @Max(1)
    private Float height;
 
    public IrMeteringAreaSetRequest() {
    }
 
    @Override
    public String toString() {
        return "IrMeteringAreaSetRequest{" +
                "payloadIndex=" + payloadIndex +
                ", x=" + x +
                ", y=" + y +
                ", width=" + width +
                ", height=" + height +
                '}';
    }
 
    public PayloadIndex getPayloadIndex() {
        return payloadIndex;
    }
 
    public IrMeteringAreaSetRequest setPayloadIndex(PayloadIndex payloadIndex) {
        this.payloadIndex = payloadIndex;
        return this;
    }
 
    public Float getX() {
        return x;
    }
 
    public IrMeteringAreaSetRequest setX(Float x) {
        this.x = x;
        return this;
    }
 
    public Float getY() {
        return y;
    }
 
    public IrMeteringAreaSetRequest setY(Float y) {
        this.y = y;
        return this;
    }
 
    public Float getWidth() {
        return width;
    }
 
    public IrMeteringAreaSetRequest setWidth(Float width) {
        this.width = width;
        return this;
    }
 
    public Float getHeight() {
        return height;
    }
 
    public IrMeteringAreaSetRequest setHeight(Float height) {
        this.height = height;
        return this;
    }
}