111
k94314517
2025-02-28 04dba6a17f836b5fbdf0eedff8a129c6785fd8a2
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
117
118
119
120
121
122
123
124
125
126
package org.yzh.protocol.t808;
 
import io.github.yezhihao.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Message;
import org.yzh.protocol.basics.JTMessage;
import org.yzh.protocol.commons.JT808;
 
/**
 * @author yezhihao
 * https://gitee.com/yezhihao/jt808-server
 */
@Message(JT808.摄像头立即拍摄命令)
public class T8801 extends JTMessage {
 
    @Field(length = 1, desc = "通道ID(大于0)")
    private int channelId;
    @Field(length = 2, desc = "拍摄命令:0表示停止拍摄;65535表示录像;其它表示拍照张数")
    private int command;
    @Field(length = 2, desc = "拍照间隔/录像时间(秒) 0表示按最小间隔拍照或一直录像")
    private int time;
    @Field(length = 1, desc = "保存标志:1.保存 0.实时上传")
    private int save;
    @Field(length = 1, desc = "分辨率:" +
            " 1.320*240" +
            " 2.640*480" +
            " 3.800*600" +
            " 4.1024*768" +
            " 5.176*144 [QCIF]" +
            " 6.352*288 [CIF]" +
            " 7.704*288 [HALF D1]" +
            " 8.704*576 [D1]")
    private int resolution;
    @Field(length = 1, desc = "图像/视频质量(1~10):1.代表质量损失最小 10.表示压缩比最大")
    private int quality;
    @Field(length = 1, desc = "亮度(0~255)")
    private int brightness;
    @Field(length = 1, desc = "对比度(0~127)")
    private int contrast;
    @Field(length = 1, desc = "饱和度(0~127)")
    private int saturation;
    @Field(length = 1, desc = "色度(0~255)")
    private int chroma;
 
    public T8801() {
    }
 
    public int getChannelId() {
        return channelId;
    }
 
    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }
 
    public int getCommand() {
        return command;
    }
 
    public void setCommand(int command) {
        this.command = command;
    }
 
    public int getTime() {
        return time;
    }
 
    public void setTime(int time) {
        this.time = time;
    }
 
    public int getSave() {
        return save;
    }
 
    public void setSave(int save) {
        this.save = save;
    }
 
    public int getResolution() {
        return resolution;
    }
 
    public void setResolution(int resolution) {
        this.resolution = resolution;
    }
 
    public int getQuality() {
        return quality;
    }
 
    public void setQuality(int quality) {
        this.quality = quality;
    }
 
    public int getBrightness() {
        return brightness;
    }
 
    public void setBrightness(int brightness) {
        this.brightness = brightness;
    }
 
    public int getContrast() {
        return contrast;
    }
 
    public void setContrast(int contrast) {
        this.contrast = contrast;
    }
 
    public int getSaturation() {
        return saturation;
    }
 
    public void setSaturation(int saturation) {
        this.saturation = saturation;
    }
 
    public int getChroma() {
        return chroma;
    }
 
    public void setChroma(int chroma) {
        this.chroma = chroma;
    }
}